Skip to content

[llvm-gcc] Bitfields & large array don't mix well #513

Closed
@llvmbot

Description

@llvmbot
Bugzilla Link 141
Resolution FIXED
Resolved on Feb 22, 2010 12:50
Version 1.0
OS All
Reporter LLVM Bugzilla Contributor

Extended Description

Whereas I thought that the inability of llvm-gcc to chew pine was due to bug 6,
apparently fixing it was not enough. Here's a test case reduced from addrbook.c
in pine-4.58:

struct pine {
unsigned read_predicted:1;
char cur_folder[4000];
int dlevel;
};

extern struct pine *ps_global;
void dump_some_debugging(char *message) {
ps_global->dlevel = 1;
}

I thought I already filed this as a bug, but I can't find it. If you do, feel
free to mark this as duplicate.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions