[LLVMbugs] [Bug 649] NEW: [llvm-gcc] llvm-types.c internal compiler error: unknown integral type size

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Mon Oct 31 17:46:31 PST 2005


http://llvm.cs.uiuc.edu/bugs/show_bug.cgi?id=649

           Summary: [llvm-gcc] llvm-types.c internal compiler error: unknown
                    integral type size
           Product: tools
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: llvm-gcc
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: kharriman at greenplum.com


llvm-gcc internal compiler error:

llvm-gcc -o llvmbug02.bc -c -save-temps llvmbug02.c
UNKNOWN INTEGRAL TYPE SIZE: 1632
llvmbug02.c: In function `main':
llvmbug02.c:13: internal compiler error: in llvm_type_get_integer, at
llvm-types.c:581

when compiling this C program:  (this is the .i file)

# 1 "llvmbug02.c"
# 1 "<built-in>"
# 1 "<command line>"
# 1 "llvmbug02.c"
typedef struct GXACT {
    char gid[200];
    int xid;
} GXACT;

int max_prepared_xacts = 100;

int main() {

    struct TwoPhase_Shared {
         struct GXACT gxact_array[max_prepared_xacts];
         struct GXACT axact_array[max_prepared_xacts];
    } *shared;

    return 0;
}

Note: This program is almost the same as the one in bug 648  (
http://llvm.cs.uiuc.edu/bugs/show_bug.cgi?id=648 ).  The difference is the
presence or absence of an int field at the beginning of the TwoPhase_Shared
structure, resulting in different failures.



------- 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