[Bug c++/68679] [5/6 Regression] gcc-5.2.1 ICE in C++11 anon union of structs with template fns, OK in gcc <= 4.9.3
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68679 Jason Merrill changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|--- |FIXED --- Comment #5 from Jason Merrill --- Fixed.
[Bug c++/68679] [5/6 Regression] gcc-5.2.1 ICE in C++11 anon union of structs with template fns, OK in gcc <= 4.9.3
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68679 --- Comment #4 from Jason Merrill --- Author: jason Date: Thu Feb 18 14:49:16 2016 New Revision: 233521 URL: https://gcc.gnu.org/viewcvs?rev=233521=gcc=rev Log: PR c++/68679 * decl2.c (reset_type_linkage_2): Look through member templates. Added: branches/gcc-5-branch/gcc/testsuite/g++.dg/other/anon8.C Modified: branches/gcc-5-branch/gcc/cp/ChangeLog branches/gcc-5-branch/gcc/cp/decl2.c
[Bug c++/68679] [5/6 Regression] gcc-5.2.1 ICE in C++11 anon union of structs with template fns, OK in gcc <= 4.9.3
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68679 --- Comment #3 from Jason Merrill --- Author: jason Date: Thu Feb 18 05:07:55 2016 New Revision: 233512 URL: https://gcc.gnu.org/viewcvs?rev=233512=gcc=rev Log: PR c++/68679 * decl2.c (reset_type_linkage_2): Look through member templates. Added: trunk/gcc/testsuite/g++.dg/other/anon8.C Modified: trunk/gcc/cp/ChangeLog trunk/gcc/cp/decl2.c
[Bug c++/68679] [5/6 Regression] gcc-5.2.1 ICE in C++11 anon union of structs with template fns, OK in gcc <= 4.9.3
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68679 Jason Merrill changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned at gcc dot gnu.org |jason at gcc dot gnu.org
[Bug c++/68679] [5/6 Regression] gcc-5.2.1 ICE in C++11 anon union of structs with template fns, OK in gcc <= 4.9.3
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68679 Richard Biener changed: What|Removed |Added Priority|P3 |P2
[Bug c++/68679] [5/6 Regression] gcc-5.2.1 ICE in C++11 anon union of structs with template fns, OK in gcc <= 4.9.3
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68679 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org, ||jason at gcc dot gnu.org --- Comment #2 from Jakub Jelinek --- Reduced testcase: typedef struct { struct { unsigned d[4]; template unsigned operator[] (T i) const { return d[i]; } } c; } A; The ICE is because TYPENAME_DECL appears among the methods.
[Bug c++/68679] [5/6 Regression] gcc-5.2.1 ICE in C++11 anon union of structs with template fns, OK in gcc <= 4.9.3
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68679 Richard Biener changed: What|Removed |Added Keywords||ice-on-valid-code Known to work||4.9.3 Version|unknown |5.2.1 Target Milestone|--- |5.4 Summary|gcc-5.2.1 ICE in C++11 anon |[5/6 Regression] gcc-5.2.1 |union of structs with |ICE in C++11 anon union of |template fns, OK in gcc <= |structs with template fns, |4.9.3 |OK in gcc <= 4.9.3