[LLVMbugs] [Bug 1399] NEW: "llvm-gcc -m64" assert in CodeGen/LiveInterval.cpp:224

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Mon May 7 13:33:31 PDT 2007


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

           Summary: "llvm-gcc -m64" assert in CodeGen/LiveInterval.cpp:224
           Product: libraries
           Version: trunk
          Platform: Macintosh
        OS/Version: MacOS X
            Status: NEW
          Severity: critical
          Priority: P2
         Component: Backend: PowerPC
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: scottm at aero.org


Compiling the following program, "llvm-gcc -m64 main.c":

#include <stdio.h>

int main(void)
{ printf("hello world.\n"); return 0; }

generates the following output:

$ llvm-gcc -m64 -v main.c
Using built-in specs.
Target: powerpc-apple-darwin8.9.0
Configured with: ../../configure
--prefix=/Users/scottm/play/llvm-cfrontend/obj/powerpc-apple-darwin8.8.0/../../powerpc-apple-darwin8.8.0
--enable-llvm=/Users/scottm/play/llvm-cfrontend/obj/powerpc-apple-darwin8.8.0/../../../llvm/trunk/obj/powerpc-apple-darwin8.8.0
--disable-intl --disable-nls --enable-languages=c,c++ : (reconfigured)
../../configure
--prefix=/Users/scottm/play/llvm-cfrontend/obj/powerpc-apple-darwin8.8.0/../../powerpc-apple-darwin8.8.0
--enable-llvm=/Users/scottm/play/llvm-cfrontend/obj/powerpc-apple-darwin8.8.0/../../../llvm/trunk/obj/powerpc-apple-darwin8.8.0
--disable-intl --disable-nls
--with-gcc-version-trigger=/Users/scottm/play/llvm-cfrontend/gcc/version.c
--enable-languages=c,c++ --no-create --no-recursion
Thread model: posix
gcc version 4.0.1 LLVM (Apple Computer, Inc. build 5449)
 /Users/scottm/play/llvm-cfrontend/powerpc-apple-darwin8.8.0/bin/../libexec/gcc/powerpc-apple-darwin8.9.0/4.0.1/cc1
-quiet -v -iprefix
/Users/scottm/play/llvm-cfrontend/powerpc-apple-darwin8.8.0/bin/../lib/gcc/powerpc-apple-darwin8.9.0/4.0.1/
-D__DYNAMIC__ main.c -fPIC -quiet -dumpbase main.c -mmacosx-version-min=10.4
-m64 -auxbase main -version -o /var/tmp//ccXnbSOF.s
ignoring nonexistent directory
"/Users/scottm/play/llvm-cfrontend/powerpc-apple-darwin8.8.0/bin/../lib/gcc/powerpc-apple-darwin8.9.0/4.0.1/../../../../powerpc-apple-darwin8.9.0/include"
ignoring nonexistent directory "/usr/local/include"
ignoring duplicate directory
"/Users/scottm/play/llvm-cfrontend/obj/powerpc-apple-darwin8.8.0/../../powerpc-apple-darwin8.8.0/lib/gcc/powerpc-apple-darwin8.9.0/4.0.1/include"
ignoring nonexistent directory
"/Users/scottm/play/llvm-cfrontend/obj/powerpc-apple-darwin8.8.0/../../powerpc-apple-darwin8.8.0/lib/gcc/powerpc-apple-darwin8.9.0/4.0.1/../../../../powerpc-apple-darwin8.9.0/include"
#include "..." search starts here:
#include <...> search starts here:
 /Users/scottm/play/llvm-cfrontend/powerpc-apple-darwin8.8.0/bin/../lib/gcc/powerpc-apple-darwin8.9.0/4.0.1/include
 /Users/scottm/play/llvm-cfrontend/obj/powerpc-apple-darwin8.8.0/../../powerpc-apple-darwin8.8.0/include
 /usr/include
 /System/Library/Frameworks (framework directory)
 /Library/Frameworks (framework directory)
End of search list.
GNU C version 4.0.1 LLVM (Apple Computer, Inc. build 5449)
(powerpc-apple-darwin8.9.0)
        compiled by GNU C version 4.0.1 (Apple Computer, Inc. build 5367).
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
Compiler executable checksum: 3fb6b8555bd4abe30e257ef177238c8e
/Users/scottm/play/llvm/trunk/lib/CodeGen/LiveInterval.cpp:224: failed assertion
`I != ranges.begin() && "Range is not in interval!"'
main.c:4: internal compiler error: Abort trap
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://llvm.org/bugs> for instructions.



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