[Bug c++/84644] internal compiler error: in warn_misplaced_attr_for_class_type, at cp/decl.c:4718
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84644 Paolo Carlini changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|--- |FIXED Target Milestone|--- |9.0 --- Comment #5 from Paolo Carlini --- Fixed in trunk.
[Bug c++/84644] internal compiler error: in warn_misplaced_attr_for_class_type, at cp/decl.c:4718
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84644 --- Comment #4 from paolo at gcc dot gnu.org --- Author: paolo Date: Sat Dec 15 09:07:38 2018 New Revision: 267165 URL: https://gcc.gnu.org/viewcvs?rev=267165=gcc=rev Log: /cp 2018-12-15 Paolo Carlini PR c++/84644 * decl.c (check_tag_decl): A decltype with no declarator doesn't declare anything. /testsuite 2018-12-15 Paolo Carlini PR c++/84644 * g++.dg/cpp0x/decltype68.C: New. * g++.dg/cpp0x/decltype-33838.C: Adjust. * g++.dg/template/spec32.C: Likewise. * g++.dg/template/ttp22.C: Likewise. Added: trunk/gcc/testsuite/g++.dg/cpp0x/decltype68.C Modified: trunk/gcc/cp/ChangeLog trunk/gcc/cp/decl.c trunk/gcc/testsuite/ChangeLog trunk/gcc/testsuite/g++.dg/cpp0x/decltype-33838.C trunk/gcc/testsuite/g++.dg/template/spec32.C trunk/gcc/testsuite/g++.dg/template/ttp22.C
[Bug c++/84644] internal compiler error: in warn_misplaced_attr_for_class_type, at cp/decl.c:4718
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84644 Paolo Carlini changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned at gcc dot gnu.org |paolo.carlini at oracle dot com --- Comment #3 from Paolo Carlini --- On it.
[Bug c++/84644] internal compiler error: in warn_misplaced_attr_for_class_type, at cp/decl.c:4718
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84644 vegard.nossum at gmail dot com changed: What|Removed |Added CC||vegard.nossum at oracle dot com --- Comment #2 from vegard.nossum at gmail dot com --- FWIW, slightly different test case: template void b() { decltype(a) __attribute__(volatile); }
[Bug c++/84644] internal compiler error: in warn_misplaced_attr_for_class_type, at cp/decl.c:4718
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84644 Marek Polacek changed: What|Removed |Added Keywords||ice-on-invalid-code Status|UNCONFIRMED |NEW Last reconfirmed||2018-03-01 CC||mpolacek at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #1 from Marek Polacek --- Confirmed.