[LLVMbugs] [Bug 1344] NEW: CFrontend/2003-10-09-UnionInitializerBug.c fails on x86_64

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Sat Apr 21 12:21:32 PDT 2007


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

           Summary: CFrontend/2003-10-09-UnionInitializerBug.c fails on
                    x86_64
           Product: new-bugs
           Version: unspecified
          Platform: PC
        OS/Version: FreeBSD
            Status: NEW
          Severity: normal
          Priority: P2
         Component: new bugs
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: jeffc at jolt-lang.org


Probably due to different alignments on x86_64 vs. x86.

FAIL: /usr/home/jeffc/llvm/test/CFrontend/2003-10-09-UnionInitializerBug.c
Failed with exit(1) at line 1
while running: /home/jeffc/llvm-gcc/install/bin/llvm-gcc -emit-llvm -S
/usr/home/jeffc/llvm/test/CFrontend/2003-10-09-UnionInitializerBug.c -o - |
llvm-as -f -o /dev/null
Assertion failed: (TD.getABITypeAlignment(FieldTy) >=
TD.getABITypeAlignment(Val->getType()) && "Field initialize is over aligned for
LLVM type!"), function ConvertStructFieldInitializerToType, file
../../gcc/llvm-convert.cpp, line 5598.
/usr/home/jeffc/llvm/test/CFrontend/2003-10-09-UnionInitializerBug.c:16:
internal compiler error: Abort trap: 6
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