[LLVMbugs] [Bug 199] NEW: llvm-gcc crashes on the following code

bugzilla-daemon at zion.cs.uiuc.edu bugzilla-daemon at zion.cs.uiuc.edu
Thu Jan 1 15:07:37 PST 2004


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

           Summary: llvm-gcc crashes 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


The llvm-gcc program crashes when it tries to compile the attached pre-processed
code.  It occurs because we have an FIELD_DECL tree whose DECL_SIZE returns a
NULL_TREE.  We deference this NULL_TREE with TREE_INT_CST_LOW, causing the error:

C-ctype.c:685: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://llvm.cs.uiuc.edu> for instructions.

The source file comes from glibc.

I'm assigning it to myself for now since I've figured what is causing it, have
devised a hack to work around it, and am now looking at how to fix it correctly.



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