[Bug c++/77812] [5/6/7 Regression] incorrectly rejects valid C++ code that uses enum in template instantiation

2017-01-12 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77812 Nathan Sidwell changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/77812] [5/6/7 Regression] incorrectly rejects valid C++ code that uses enum in template instantiation

2017-01-12 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77812 --- Comment #6 from Nathan Sidwell --- Author: nathan Date: Thu Jan 12 12:40:28 2017 New Revision: 244351 URL: https://gcc.gnu.org/viewcvs?rev=244351=gcc=rev Log: cp/ PR c++/77812 * name-lookup.c

[Bug c++/77812] [5/6/7 Regression] incorrectly rejects valid C++ code that uses enum in template instantiation

2017-01-11 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77812 --- Comment #5 from Nathan Sidwell --- Author: nathan Date: Wed Jan 11 20:49:50 2017 New Revision: 244336 URL: https://gcc.gnu.org/viewcvs?rev=244336=gcc=rev Log: cp/ PR c++/77812 * name-lookup.c

[Bug c++/77812] [5/6/7 Regression] incorrectly rejects valid C++ code that uses enum in template instantiation

2017-01-11 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77812 --- Comment #4 from Nathan Sidwell --- Author: nathan Date: Wed Jan 11 20:37:16 2017 New Revision: 244335 URL: https://gcc.gnu.org/viewcvs?rev=244335=gcc=rev Log: cp/ PR c++/77812 * name-lookup.c

[Bug c++/77812] [5/6/7 Regression] incorrectly rejects valid C++ code that uses enum in template instantiation

2017-01-11 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77812 --- Comment #3 from Nathan Sidwell --- The struct variant only 'works' because 'struct X' is a valid incomplete struct declaration. Try: struct f {}; template void f () { struct f Q; } template void f (); void f() void f() [with = int]

[Bug c++/77812] [5/6/7 Regression] incorrectly rejects valid C++ code that uses enum in template instantiation

2017-01-11 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77812 Nathan Sidwell changed: What|Removed |Added Status|NEW |ASSIGNED CC|

[Bug c++/77812] [5/6/7 Regression] incorrectly rejects valid C++ code that uses enum in template instantiation

2016-12-20 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77812 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org,

[Bug c++/77812] [5/6/7 Regression] incorrectly rejects valid C++ code that uses enum in template instantiation

2016-12-01 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77812 Richard Biener changed: What|Removed |Added Priority|P3 |P2

[Bug c++/77812] [5/6/7 Regression] incorrectly rejects valid C++ code that uses enum in template instantiation

2016-10-01 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77812 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |NEW Known to work|