[LLVMbugs] [Bug 1003] NEW: ICE when compiling LLVM TOT

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Tue Nov 14 06:58:20 PST 2006


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

           Summary: ICE when compiling LLVM TOT
           Product: libraries
           Version: trunk
          Platform: Macintosh
        OS/Version: MacOS X
            Status: NEW
          Severity: major
          Priority: P2
         Component: Core LLVM classes
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: isanbard at gmail.com


I get the following ICE during compilation of LLVM.

GEP is not of right type for indices!
        %i = getelementptr long* %i             ; <{  }*> [#uses=1]
 longInstruction does not dominate all uses!
        %i = getelementptr long* %i             ; <{  }*> [#uses=1]
        call void %llvm.dbg.declare( {  }* %i, {  }* cast (%llvm.dbg.variable.type* %llvm.dbg.variable to {  }*) )
Broken module found, compilation aborted!
/Users/wendling/llvm/llvm.src/projects/Stacker/lib/runtime/stacker_rt.c: In function 
'_stacker_dump_stack_':
/Users/wendling/llvm/llvm.src/projects/Stacker/lib/runtime/stacker_rt.c:31: internal compiler error: 
Abort trap
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://llvm.org/bugs> for instructions.

In the preprocessed file, it gives this ICE:

$ /Users/wendling/llvm/llvm-gcc4.install/bin/llvm-gcc -g bad.ii -o bad.ll -S -emit-llvmGEP is not of 
right type for indices!        %_c = getelementptr int* %_c_addr               ; <{  }*> [#uses=1]
 intInstruction does not dominate all uses!
        %_c = getelementptr int* %_c_addr               ; <{  }*> [#uses=1]
        call void %llvm.dbg.declare( {  }* %_c, {  }* cast (%llvm.dbg.variable.type* %llvm.dbg.variable to {  }*) 
)
GEP is not of right type for indices!
        %_f = getelementptr uint* %_f_addr              ; <{  }*> [#uses=1]
 uintInstruction does not dominate all uses!
        %_f = getelementptr uint* %_f_addr              ; <{  }*> [#uses=1]
        call void %llvm.dbg.declare( {  }* %_f, {  }* cast (%llvm.dbg.variable.type* %llvm.dbg.variable1 to {  }
*) )
GEP is not of right type for indices!
        %retval = getelementptr int* %retval            ; <{  }*> [#uses=1]
 intInstruction does not dominate all uses!
        %retval = getelementptr int* %retval            ; <{  }*> [#uses=1]
        call void %llvm.dbg.declare( {  }* %retval, {  }* cast (%llvm.dbg.variable.type* %llvm.dbg.variable4 to 
{  }*) )
GEP is not of right type for indices!
        %iftmp.2 = getelementptr int* %iftmp.2          ; <{  }*> [#uses=1]
 intInstruction does not dominate all uses!
        %iftmp.2 = getelementptr int* %iftmp.2          ; <{  }*> [#uses=1]
        call void %llvm.dbg.declare( {  }* %iftmp.2, {  }* cast (%llvm.dbg.variable.type* %llvm.dbg.variable5 
to {  }*) )
Broken module found, compilation aborted!
/usr/include/ctype.h: In function '__darwin_ct_rune_t __isctype(__darwin_ct_rune_t, long unsigned int)':
/usr/include/ctype.h:225: 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