[LLVMbugs] [Bug 1400] NEW: LLVM frontend crashes when compiling a header file with implementation

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Tue May 8 08:54:24 PDT 2007


http://llvm.org/bugs/show_bug.cgi?id=1400

           Summary: LLVM frontend crashes when compiling a header file with
                    implementation
           Product: new-bugs
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: minor
          Priority: P2
         Component: new bugs
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: vjaaskel at cs.tut.fi


vjaaskel at kizarwexius:~/testdata/c/testi$ cat testi.h
int main() {
   return 0;
}

vjaaskel at kizarwexius:~/testdata/c/testi$ llvm-gcc -emit-llvm testi.h
testi.h:3: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://llvm.org/bugs> for instructions.

vjaaskel at kizarwexius:~/testdata/c/testi$ gcc testi.h

vjaaskel at kizarwexius:~/testdata/c/testi$ llvm-gcc --version
llvm-gcc (GCC) 4.0.1 LLVM (Apple Computer, Inc. build 5449)
Copyright (C) 2005 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.



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