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

Reply via email to