https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58761
Paolo Carlini changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58761
Jason Merrill changed:
What|Removed |Added
Status|NEW |ASSIGNED
CC|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58761
--- Comment #5 from Jason Merrill ---
Author: jason
Date: Mon May 19 18:41:24 2014
New Revision: 210624
URL: http://gcc.gnu.org/viewcvs?rev=210624&root=gcc&view=rev
Log:
PR c++/58761
* pt.c (tsubst_copy): Don't check at_function_scope_p.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58761
Paolo Carlini changed:
What|Removed |Added
CC||thomas.sanchz at gmail dot com
--- Commen
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58761
--- Comment #3 from Paolo Carlini ---
Thanks Ville. Now we are only missing a patch ;)
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58761
--- Comment #2 from Ville Voutilainen ---
Reduced:
template
struct X
{
int x = 42;
int y = [this](){return this->x;}();
};
int main()
{
X x;
}
Seems to require a template to trigger, but from that point onwards,
it's quite easy to trigg
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58761
Paolo Carlini changed:
What|Removed |Added
Status|UNCONFIRMED |NEW
Last reconfirmed|