[LLVMbugs] [Bug 22969] New: assertion with DFSan: PHI nodes not grouped at top of basic block!

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Fri Mar 20 17:48:25 PDT 2015


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

            Bug ID: 22969
           Summary: assertion with DFSan: PHI nodes not grouped at top of
                    basic block!
           Product: new-bugs
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
          Assignee: peter at pcc.me.uk
          Reporter: kcc at google.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

int F2();
void F1(int c) {
  int curToken;
  try {
    while (1) try {
        curToken = F2();
        break;
      } catch (int) {
      }
    if (curToken) F2();
    if (c) {
    }
  } catch (int) {
  }
}




clang++ -fsanitize=dataflow z.cc -O2 -c
PHI nodes not grouped at top of basic block!
  %1 = phi i16 [ %0, %while.body ]
label %invoke.cont
fatal error: error in backend: Broken function found, compilation aborted!

-- 
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/20150321/517e8d97/attachment.html>


More information about the llvm-bugs mailing list