[LLVMbugs] [Bug 23046] New: SROA assert: Assertion `DL.getTypeStoreSize(Ty) + Offset <= DL.getTypeStoreSize(IntTy) && "Element extends past full value"' failed.

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Fri Mar 27 11:10:29 PDT 2015


https://llvm.org/bugs/show_bug.cgi?id=23046

            Bug ID: 23046
           Summary: SROA assert: Assertion `DL.getTypeStoreSize(Ty) +
                    Offset <= DL.getTypeStoreSize(IntTy) && "Element
                    extends past full value"' failed.
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Scalar Optimizations
          Assignee: unassignedbugs at nondot.org
          Reporter: joerg at NetBSD.org
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

Try to compile the following with -O2:

fn1(double p1) {
  char *e = &p1;
  *(int *)(e + 6);
}

-- 
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/20150327/5fe0f582/attachment.html>


More information about the llvm-bugs mailing list