[Bug c++/78018] [C++14] "internal compiler error: Segmentation fault" with templates and lambdas

2017-10-04 Thread paolo.carlini at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78018

Paolo Carlini  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 CC|andipeer at gmx dot net|
 Blocks||54367
 Resolution|--- |FIXED
   Target Milestone|--- |6.4

--- Comment #3 from Paolo Carlini  ---
Fixed in 6.4.0.


Referenced Bugs:

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54367
[Bug 54367] [meta-bug] lambda expressions

[Bug c++/78018] [C++14] "internal compiler error: Segmentation fault" with templates and lambdas

2017-10-04 Thread paolo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78018

--- Comment #2 from paolo at gcc dot gnu.org  ---
Author: paolo
Date: Wed Oct  4 20:34:03 2017
New Revision: 253430

URL: https://gcc.gnu.org/viewcvs?rev=253430&root=gcc&view=rev
Log:
2017-10-04  Paolo Carlini  

PR c++/78018
* g++.dg/cpp1y/lambda-generic-78018.C: New.

Added:
trunk/gcc/testsuite/g++.dg/cpp1y/lambda-generic-78018.C
Modified:
trunk/gcc/testsuite/ChangeLog

[Bug c++/78018] [C++14] "internal compiler error: Segmentation fault" with templates and lambdas

2016-10-18 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78018

Markus Trippelsdorf  changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
   Last reconfirmed||2016-10-18
 CC||trippels at gcc dot gnu.org
 Ever confirmed|0   |1
  Known to fail||5.4.0, 6.2.0, 7.0

--- Comment #1 from Markus Trippelsdorf  ---
Confirmed. It is not a regression, because it never worked.

Even icc crashes:

markus@x4 tmp % icpc -c error.cpp
error.cpp(20): internal error: bad pointer
  f2([&] (auto t) { f3(t); } );
^
compilation aborted for error.cpp (code 4)

Clang accepts the code.