[llvm-bugs] [Bug 24696] New: compiler crash on use of undeclared identifier to deduce lambda return type

via llvm-bugs llvm-bugs at lists.llvm.org
Thu Sep 3 10:24:31 PDT 2015


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

            Bug ID: 24696
           Summary: compiler crash on use of undeclared identifier to
                    deduce lambda return type
           Product: clang
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: C++14
          Assignee: unassignedclangbugs at nondot.org
          Reporter: const at const-iterator.de
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

Created attachment 14835
  --> https://llvm.org/bugs/attachment.cgi?id=14835&action=edit
Preprocessed source file to produce crash

When compiling the attached file with -std=c++14, clang crashes (on ubuntu
trusty x64)

The error occurs in:
 - the nightly build 1:3.8~svn246548-1~exp1
 - ubuntu package 1:3.6-2ubuntu1~trusty1

It does not occur in
 - ubuntu package 1:3.5-4ubuntu2~trusty2

When compiling with -std=c++11, it works (yielding the obvious error message)

-- 
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/20150903/0d897acd/attachment.html>


More information about the llvm-bugs mailing list