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

            Bug ID: 19250
           Summary: Invalid code is generated for "unions" with i1
                    elements in a variant
           Product: new-bugs
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
    Classification: Unclassified

Created attachment 12284
  --> http://llvm.org/bugs/attachment.cgi?id=12284&action=edit
Test case

Trying to switch bool in rust from i8 to i1 I ran into a segfault because of a
corrupted pointer value. The attached test.ll example shows the problem when
passed through `opt -O2`. The problem did not exist in LLVM 3.4.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to