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

             Bug #: 13906
           Summary: Assertion `onlyUsedByLifetimeMarkers(I) && "Found a
                    bitcast used outside of a lifetime marker."' failed.
           Product: libraries
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Scalar Optimizations
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected], [email protected]
    Classification: Unclassified


test case from csmith/creduce; clang r164484 on 64-bit linux

clang -c -w -O2 z.c 

struct S2
{
  int f2:1
};
a;
b;
fn1 () {
  struct S2 c = { };
  struct S2 *d;
  for (;; a)
    if (b) {
      d;
      if (b)
        d = &c;
    }
}

-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- 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