[Bug c++/98297] [8/9/10/11 Regression] ICE in cp_parser_elaborated_type_specifier, at cp/parser.c:19653
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98297 --- Comment #6 from Jakub Jelinek --- Ah, tracked already in PR98358.
[Bug c++/98297] [8/9/10/11 Regression] ICE in cp_parser_elaborated_type_specifier, at cp/parser.c:19653
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98297 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #5 from Jakub Jelinek --- Note, the testcase FAILs on the 8 branch, the emitted error is different. $ gcc-9/obj28/gcc/cc1plus -quiet -std=c++11 /tmp/pr98297.C -o /tmp/pr98297.s /tmp/pr98297.C:5:1: warning: ‘b’ attribute directive ignored [-Wattributes] 5 | a ; // { dg-error "does not declare anything" } | ^~~ /tmp/pr98297.C:5:1: error: declaration does not declare anything [-fpermissive] $ gcc-8/obj32/gcc/cc1plus -quiet -std=c++11 /tmp/pr98297.C -o /tmp/pr98297.s /tmp/pr98297.C:5:1: warning: ‘b’ attribute directive ignored [-Wattributes] a ; // { dg-error "does not declare anything" } ^~~ /tmp/pr98297.C:5:1: error: name of class shadows template template parameter ‘a’ $ gcc-8/obj30/gcc/cc1plus -quiet -std=c++11 /tmp/pr98297.C -o /tmp/pr98297.s /tmp/pr98297.C:5:1: internal compiler error: Segmentation fault a ; // { dg-error "does not declare anything" } ^~~ gcc-8/obj30 is 5 months old snapshot which expectedly ICEs, but the middle error is different from what the test expects.
[Bug c++/98297] [8/9/10/11 Regression] ICE in cp_parser_elaborated_type_specifier, at cp/parser.c:19653
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98297 Nathan Sidwell changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|--- |FIXED --- Comment #4 from Nathan Sidwell --- 8, 9 & 10 fixed
[Bug c++/98297] [8/9/10/11 Regression] ICE in cp_parser_elaborated_type_specifier, at cp/parser.c:19653
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98297 --- Comment #3 from Nathan Sidwell --- Fixed trunk, 8d8bb85b486 2020-12-16 | c++: Fix template parm ICE [PR 98297] backports to 10, 9, & 8 in progress
[Bug c++/98297] [8/9/10/11 Regression] ICE in cp_parser_elaborated_type_specifier, at cp/parser.c:19653
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98297 Nathan Sidwell changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |nathan at gcc dot gnu.org Status|NEW |ASSIGNED
[Bug c++/98297] [8/9/10/11 Regression] ICE in cp_parser_elaborated_type_specifier, at cp/parser.c:19653
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98297 Martin Liška changed: What|Removed |Added CC||marxin at gcc dot gnu.org, ||nathan at gcc dot gnu.org --- Comment #2 from Martin Liška --- Likely started with r8-2567-g776ff3efa9de7fce.
[Bug c++/98297] [8/9/10/11 Regression] ICE in cp_parser_elaborated_type_specifier, at cp/parser.c:19653
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98297 Marek Polacek changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED |NEW CC||mpolacek at gcc dot gnu.org Last reconfirmed||2020-12-15 Summary|[9/10/11 Regression] ICE in |[8/9/10/11 Regression] ICE |cp_parser_elaborated_type_s |in |pecifier, at|cp_parser_elaborated_type_s |cp/parser.c:19653 |pecifier, at ||cp/parser.c:19653 Target Milestone|--- |8.5 --- Comment #1 from Marek Polacek --- Confirmed.