[LLVMbugs] [Bug 19250] New: Invalid code is generated for "unions" with i1 elements in a variant

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue Mar 25 14:18:58 PDT 2014


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: unassignedbugs at nondot.org
          Reporter: bsteinbr at gmail.com
                CC: llvmbugs at cs.uiuc.edu
    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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20140325/51d995f7/attachment.html>


More information about the llvm-bugs mailing list