[llvm-bugs] [Bug 25102] New: inalloca handling crashes in FinishFunction when normal control flow leaves a CallExpr

via llvm-bugs llvm-bugs at lists.llvm.org
Wed Oct 7 16:15:48 PDT 2015


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

            Bug ID: 25102
           Summary: inalloca handling crashes in FinishFunction when
                    normal control flow leaves a CallExpr
           Product: clang
           Version: unspecified
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P
         Component: LLVM Codegen
          Assignee: unassignedclangbugs at nondot.org
          Reporter: rnk at google.com
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

Test case:

struct A{
  int x;
  A();
  ~A();
};
void inalloca(A x, A y);
void callit() {
  inalloca(A(), ({
             goto out;
             A();
           }));
out:
  ;
}

-- 
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/20151007/a3693657/attachment.html>


More information about the llvm-bugs mailing list