[LLVMbugs] [Bug 1634] New: llvm-g++ fails an assertion test compiling on x86 (OS X)

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Sat Sep 1 14:41:27 PDT 2007


           Summary: llvm-g++ fails an assertion test compiling on x86 (OS X)
           Product: cfe
           Version: unspecified
          Platform: Macintosh
        OS/Version: MacOS X
            Status: NEW
          Keywords: compile-fail
          Severity: critical
          Priority: P2
         Component: LLVM Codegen
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: arobison at cs.utah.edu
                CC: llvmbugs at cs.uiuc.edu

The following command line:

/Users/arobison/Development/llvm-gcc/bin/llvm-g++   -DManta_Engine_EXPORTS 
-Wall -Wno-strict-aliasing -DSCI_NOPERSISTENT -march=nocona -mtune=nocona  
-msse -msse2 -msse3 -mfpmath=sse  -O3 -DNDEBUG -g3 -fgcse-sm -funroll-loops
-fstrict-aliasing -fsched-interblock -ffast-math -freorder-blocks -fPIC -c

Produces the following output:

<built-in>:1:1: warning: "__STDC_HOSTED__" redefined<built-in>:1:1: warning:
this is the location of the previous definition
Instructions.cpp:210: failed assertion `(i >= FTy->getNumParams() ||
FTy->getParamType(i) == Params[i]->getType()) && "Calling a function with a bad
/Users/arobison/Development/Manta/Engine/Control/RTRT.cc: In member function
'virtual void Manta::RTRT::unregisterCallback(Manta::CallbackHandle*)':
/Users/arobison/Development/Manta/Engine/Control/RTRT.cc:276: internal compiler
error: Abort trap
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://llvm.org/bugs> for instructions.

g++ does not produce errors compiling this code.
Preprocessed file that produces the error attached.

Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

More information about the llvm-bugs mailing list