[LLVMbugs] [Bug 13906] New: Assertion `onlyUsedByLifetimeMarkers(I) && "Found a bitcast used outside of a lifetime marker."' failed.

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Mon Sep 24 04:49:46 PDT 2012


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: unassignedbugs at nondot.org
        ReportedBy: kcc at google.com
                CC: chandlerc at gmail.com, llvmbugs at cs.uiuc.edu
    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.



More information about the llvm-bugs mailing list