[LLVMbugs] [Bug 18516] New: insertvalue T1 T2 crashes when T1 is zero sized type

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Fri Jan 17 01:13:46 PST 2014


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

            Bug ID: 18516
           Summary: insertvalue T1 T2 crashes when T1 is zero sized type
           Product: libraries
           Version: trunk
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: Common Code Generator Code
          Assignee: unassignedbugs at nondot.org
          Reporter: sanxiyn at gmail.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

%T1 = type { %T2 }
%T2 = type {}
define void @f() {
  %a = insertvalue %T1 undef, %T2 undef, 0
  ret void
}

The case when T2 is zero sized type is handled. You can check by adding
elements to T1.

-- 
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/20140117/bd4870ef/attachment.html>


More information about the llvm-bugs mailing list