[LLVMbugs] [Bug 200] NEW: llvm-gcc segfaults on the following code

bugzilla-daemon at zion.cs.uiuc.edu bugzilla-daemon at zion.cs.uiuc.edu
Sun Jan 4 19:03:32 PST 2004


           Summary: llvm-gcc segfaults on the following code
           Product: tools
           Version: 1.1
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: llvm-gcc
        AssignedTo: criswell at uiuc.edu
        ReportedBy: criswell at uiuc.edu

llvm-gcc segfaults on the attached pre-processed code:

I've been chasing this one awhile, and it occurs because of a write to invalid
memory.  The write, in turn, occurs because we are trying to initialize the
first element of an array that we think has zero length.  However, I haven't
figured out why llvm-gcc thinks the array's length is zero.

I'm assigning this to myself as I'm tracking it and making progress.

------- 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