[Bug c++/64848] G++ internal compiler error with templated lambdas capturing variable

2015-07-09 Thread paolo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64848

--- Comment #3 from paolo at gcc dot gnu.org paolo at gcc dot gnu.org ---
Author: paolo
Date: Fri Jul 10 02:44:39 2015
New Revision: 225648

URL: https://gcc.gnu.org/viewcvs?rev=225648root=gccview=rev
Log:
2015-07-09  Paolo Carlini  paolo.carl...@oracle.com

PR c++/64848
* g++.dg/cpp0x/lambda/lambda-ice14.C: New.

Added:
trunk/gcc/testsuite/g++.dg/cpp0x/lambda/lambda-ice14.C
Modified:
trunk/gcc/testsuite/ChangeLog


[Bug c++/64848] G++ internal compiler error with templated lambdas capturing variable

2015-07-09 Thread paolo.carlini at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64848

Paolo Carlini paolo.carlini at oracle dot com changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Blocks||54367
 Resolution|--- |FIXED
   Target Milestone|--- |5.2
   Severity|major   |normal

--- Comment #4 from Paolo Carlini paolo.carlini at oracle dot com ---
Done.


Referenced Bugs:

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


[Bug c++/64848] G++ internal compiler error with templated lambdas capturing variable

2015-07-09 Thread paolo.carlini at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64848

--- Comment #2 from Paolo Carlini paolo.carlini at oracle dot com ---
This is fixed for 5.2. I'm adding a testcase and closing the bug.


[Bug c++/64848] G++ internal compiler error with templated lambdas capturing variable

2015-02-02 Thread ville.voutilainen at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64848

Ville Voutilainen ville.voutilainen at gmail dot com changed:

   What|Removed |Added

   Keywords||ice-on-valid-code
 Status|UNCONFIRMED |NEW
   Last reconfirmed||2015-02-02
 CC||ville.voutilainen at gmail dot 
com
 Ever confirmed|0   |1
  Known to fail||4.8.2, 4.9.1, 5.0

--- Comment #1 from Ville Voutilainen ville.voutilainen at gmail dot com ---
Clang accepts the code.