[LLVMbugs] [Bug 22071] New: [Regression] Clang crashes while generating LLVM IR for lambda when using local constexpr reference variable

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed Dec 31 00:15:50 PST 2014


http://llvm.org/bugs/show_bug.cgi?id=22071

            Bug ID: 22071
           Summary: [Regression] Clang crashes while generating LLVM IR
                    for lambda when using local constexpr reference
                    variable
           Product: clang
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Keywords: compile-fail, regression
          Severity: normal
          Priority: P
         Component: C++11
          Assignee: unassignedclangbugs at nondot.org
          Reporter: lunow at math.hu-berlin.de
                CC: dgregor at apple.com, llvmbugs at cs.uiuc.edu
    Classification: Unclassified

Minimal code example:

int x;

int main() {
  constexpr int& y = x;
  [=] { y; }();
}

The code was accepted in 3.5.

-- 
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/20141231/c247d3f4/attachment.html>


More information about the llvm-bugs mailing list