[LLVMbugs] [Bug 684] NEW: [llvm-gcc] Crash on union cast init case

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Tue Jan 3 10:48:10 PST 2006


           Summary: [llvm-gcc] Crash on union cast init case
           Product: tools
           Version: 1.0
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: llvm-gcc
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: sabre at nondot.org

llvm-gcc crashes on this code:

union ucast {
    int i;
    struct s {
        int i1, i2;
    } s;
union ucast ucast_test (void) {
    struct s y = {1, 2};
    union ucast z = (union ucast)y;
    return z;

This works with the new front-end.


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