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

            Bug ID: 23122
           Summary: frameescape intrinsic leads to the backend crashing
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: Common Code Generator Code
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
    Classification: Unclassified

this C++ crashes the backend:
void g();
void f(bool b) {
  try {
    g();
  } catch (int x) {
    while (true) {
      if (b)
        goto out;
    }
  }
out:
  ;
}

compile with:
clang -cc1 -triple x86_64-pc-win32 t.cpp -S -o - -fexceptions -fcxx-exceptions

-- 
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