[LLVMdev] Internal Compiler Error

Evan Cheng evan.cheng at apple.com
Sun Jan 27 16:10:41 PST 2008


Yes, this is me. I'll look at this tonight when I have access to a  
machine.

Evan

On Jan 27, 2008, at 1:01 AM, Bill Wendling <isanbard at gmail.com> wrote:

> Hi all,
>
> In the last few days, some change introduced an internal compiler
> error. On my G4 (PPC), I'm getting this:
>
> $ cat testcase.i
> struct A {};
> struct B {
>   struct A c[0];
> };
> extern const struct B *pB;
> void bork(void) {
>   const struct A *pA = pB->c;
> }
> $ /Users/wendling/llvm/llvm-gcc-4.2.obj/./gcc/xgcc -B/Users/wendling/
> llvm/llvm-gcc-4.2.obj/./gcc/ -B/Users/wendling/llvm/llvm-
> gcc-4.2.install/powerpc-apple-darwin8.11.0/bin/ -B/Users/wendling/
> llvm/llvm-gcc-4.2.install/powerpc-apple-darwin8.11.0/lib/ -O2 -pipe -
> mmacosx-version-min=10.4 -g -c testcase.i
> ../../llvm-gcc-4.2.src/gcc/llvm-types.cpp:675: failed assertion
> `false && "Type not laid out for LLVM?"'
> testcase.i: In function 'bork':
> testcase.i:6: internal compiler error: Abort trap
> Please submit a full bug report,
> with preprocessed source if appropriate.
> See <URL:http://developer.apple.com/bugreporter> for instructions.
>
> This is the compiler that GCC builds, so it's an error in our code
> base -- easier to debug :-). I know that this is scant information,
> but was anyone working in this area recently?
>
> Thanks!
> -bw
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev



More information about the llvm-dev mailing list