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: [email protected]
          Reporter: [email protected]
                CC: [email protected]
    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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to