[LLVMbugs] [Bug 141] NEW: [llvm-gcc] crash assigning to an int of a struct containing bitfield & large array

bugzilla-daemon at zion.cs.uiuc.edu bugzilla-daemon at zion.cs.uiuc.edu
Wed Nov 19 17:59:43 PST 2003


http://llvm.cs.uiuc.edu/bugs/show_bug.cgi?id=141

           Summary: [llvm-gcc] crash assigning to an int of a struct
                    containing bitfield & large array
           Product: tools
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: llvm-gcc
        AssignedTo: sabre at nondot.org
        ReportedBy: brukman+bugs at uiuc.edu


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.



------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.



More information about the llvm-bugs mailing list