[Bug c++/64462] ICE while compiling lambda using local constexpr reference variable

2018-01-02 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64462

Jakub Jelinek  changed:

   What|Removed |Added

 CC||jakub at gcc dot gnu.org

--- Comment #7 from Jakub Jelinek  ---
Note, the #c0 testcase has been fixed with r216056 aka PR63207 fix.

[Bug c++/64462] ICE while compiling lambda using local constexpr reference variable

2018-01-02 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64462

Nathan Sidwell  changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution|--- |FIXED

--- Comment #6 from Nathan Sidwell  ---
The test case is valid, as this is not an ODR use of 'y'.  added a comment to
it.

[Bug c++/64462] ICE while compiling lambda using local constexpr reference variable

2017-12-22 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64462

Nathan Sidwell  changed:

   What|Removed |Added

   Keywords|ice-on-valid-code   |accepts-invalid
 Status|RESOLVED|ASSIGNED
 CC||nathan at gcc dot gnu.org
 Resolution|FIXED   |---
   Assignee|unassigned at gcc dot gnu.org  |nathan at gcc dot 
gnu.org

--- Comment #5 from Nathan Sidwell  ---
I'm reopening this.  The original testcase is different.  The one on the
testsuite is invalid as it has no capture default.  But we capture the
constexpr 'y'.

See bug 83160

[Bug c++/64462] ICE while compiling lambda using local constexpr reference variable

2015-01-08 Thread paolo.carlini at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64462

Paolo Carlini  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |FIXED
   Target Milestone|--- |5.0

--- Comment #4 from Paolo Carlini  ---
Done.


[Bug c++/64462] ICE while compiling lambda using local constexpr reference variable

2015-01-08 Thread paolo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64462

--- Comment #3 from paolo at gcc dot gnu.org  ---
Author: paolo
Date: Thu Jan  8 17:48:38 2015
New Revision: 219352

URL: https://gcc.gnu.org/viewcvs?rev=219352&root=gcc&view=rev
Log:
2015-01-08  Paolo Carlini  

PR c++/64462
* g++.dg/cpp0x/constexpr-64462.C: New.

Added:
trunk/gcc/testsuite/g++.dg/cpp0x/constexpr-64462.C
Modified:
trunk/gcc/testsuite/ChangeLog


[Bug c++/64462] ICE while compiling lambda using local constexpr reference variable

2015-01-08 Thread paolo.carlini at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64462

--- Comment #2 from Paolo Carlini  ---
Thanks Ville. Let's add the testcase and close this.


[Bug c++/64462] ICE while compiling lambda using local constexpr reference variable

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

Ville Voutilainen  changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
   Last reconfirmed||2015-01-08
 CC||ville.voutilainen at gmail dot 
com
  Known to work||5.0
 Ever confirmed|0   |1
  Known to fail||4.8.2, 4.9.1

--- Comment #1 from Ville Voutilainen  ---
I don't see an ICE with the current trunk.