[LLVMbugs] [Bug 911] NEW: ICE during compilation of program

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Wed Sep 13 15:21:20 PDT 2006


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

           Summary: ICE during compilation of program
           Product: tools
           Version: trunk
          Platform: Macintosh
        OS/Version: MacOS X
            Status: NEW
          Severity: normal
          Priority: P2
         Component: llvm-gcc
        AssignedTo: isanbard at gmail.com
        ReportedBy: isanbard at gmail.com


This program:

extern void foo();

struct S {
  short        f1[3];
  unsigned int f2 : 1;
};

void bar()
{
  struct S *A;

  if (A->f2)
    foo();
}

gives this error message:

[bwendling:llvm] /Volumes/Dib/devel/llvm/llvm-gcc4.install/bin/llvm-gcc -c bad.cpp -emit-llvm
../../llvm-gcc4.src/gcc/llvm-convert.cpp:3748: failed assertion `ByteAlignment*8 < LLVMValueBitSize 
&& "Unknown overlap case!"'
bad.cpp: In function 'void bar()':
bad.cpp:8: 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