public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
* [Bug c++/52671] New: [4.7/4.8 Regression] ICE with misplaced attribute on enum @ 2012-03-22 16:41 jakub at gcc dot gnu.org 2012-03-22 17:00 ` [Bug c++/52671] " jakub at gcc dot gnu.org ` (5 more replies) 0 siblings, 6 replies; 7+ messages in thread From: jakub at gcc dot gnu.org @ 2012-03-22 16:41 UTC (permalink / raw) To: gcc-bugs http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52671 Bug #: 52671 Summary: [4.7/4.8 Regression] ICE with misplaced attribute on enum Classification: Unclassified Product: gcc Version: 4.7.0 Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: normal Priority: P3 Component: c++ AssignedTo: jakub@gcc.gnu.org ReportedBy: jakub@gcc.gnu.org // PR c++/XXXXX // { dg-do compile } __attribute__ ((deprecated)) enum E { E0 };// { dg-warning "attribute ignored in declaration of" } // { dg-message "must follow the" "" { target *-*-* } 3 } ICEs in 4.7/4.8 starting with http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=184753 (i.e. PR51930 fix). ^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug c++/52671] [4.7/4.8 Regression] ICE with misplaced attribute on enum 2012-03-22 16:41 [Bug c++/52671] New: [4.7/4.8 Regression] ICE with misplaced attribute on enum jakub at gcc dot gnu.org @ 2012-03-22 17:00 ` jakub at gcc dot gnu.org 2012-03-22 20:28 ` jakub at gcc dot gnu.org ` (4 subsequent siblings) 5 siblings, 0 replies; 7+ messages in thread From: jakub at gcc dot gnu.org @ 2012-03-22 17:00 UTC (permalink / raw) To: gcc-bugs http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52671 --- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-03-22 16:49:52 UTC --- Created attachment 26958 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=26958 gcc48-pr52671.patch Untested fix. ^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug c++/52671] [4.7/4.8 Regression] ICE with misplaced attribute on enum 2012-03-22 16:41 [Bug c++/52671] New: [4.7/4.8 Regression] ICE with misplaced attribute on enum jakub at gcc dot gnu.org 2012-03-22 17:00 ` [Bug c++/52671] " jakub at gcc dot gnu.org @ 2012-03-22 20:28 ` jakub at gcc dot gnu.org 2012-03-22 20:29 ` jakub at gcc dot gnu.org ` (3 subsequent siblings) 5 siblings, 0 replies; 7+ messages in thread From: jakub at gcc dot gnu.org @ 2012-03-22 20:28 UTC (permalink / raw) To: gcc-bugs http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52671 --- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-03-22 20:25:12 UTC --- Author: jakub Date: Thu Mar 22 20:25:02 2012 New Revision: 185709 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=185709 Log: PR c++/52671 * decl.c (check_tag_decl): Only use CLASSTYPE_TEMPLATE_INSTANTIATION on CLASS_TYPE_P types. * g++.dg/ext/attrib44.C: New test. Added: trunk/gcc/testsuite/g++.dg/ext/attrib44.C Modified: trunk/gcc/cp/ChangeLog trunk/gcc/cp/decl.c trunk/gcc/testsuite/ChangeLog ^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug c++/52671] [4.7/4.8 Regression] ICE with misplaced attribute on enum 2012-03-22 16:41 [Bug c++/52671] New: [4.7/4.8 Regression] ICE with misplaced attribute on enum jakub at gcc dot gnu.org 2012-03-22 17:00 ` [Bug c++/52671] " jakub at gcc dot gnu.org 2012-03-22 20:28 ` jakub at gcc dot gnu.org @ 2012-03-22 20:29 ` jakub at gcc dot gnu.org 2012-03-22 20:30 ` jakub at gcc dot gnu.org ` (2 subsequent siblings) 5 siblings, 0 replies; 7+ messages in thread From: jakub at gcc dot gnu.org @ 2012-03-22 20:29 UTC (permalink / raw) To: gcc-bugs http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52671 --- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-03-22 20:27:47 UTC --- Author: jakub Date: Thu Mar 22 20:27:38 2012 New Revision: 185710 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=185710 Log: PR c++/52671 * decl.c (check_tag_decl): Only use CLASSTYPE_TEMPLATE_INSTANTIATION on CLASS_TYPE_P types. * g++.dg/ext/attrib44.C: New test. Modified: branches/gcc-4_7-branch/gcc/cp/ChangeLog branches/gcc-4_7-branch/gcc/cp/decl.c branches/gcc-4_7-branch/gcc/testsuite/ChangeLog ^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug c++/52671] [4.7/4.8 Regression] ICE with misplaced attribute on enum 2012-03-22 16:41 [Bug c++/52671] New: [4.7/4.8 Regression] ICE with misplaced attribute on enum jakub at gcc dot gnu.org ` (2 preceding siblings ...) 2012-03-22 20:29 ` jakub at gcc dot gnu.org @ 2012-03-22 20:30 ` jakub at gcc dot gnu.org 2012-03-22 20:33 ` jakub at gcc dot gnu.org 2012-04-03 16:19 ` doko at gcc dot gnu.org 5 siblings, 0 replies; 7+ messages in thread From: jakub at gcc dot gnu.org @ 2012-03-22 20:30 UTC (permalink / raw) To: gcc-bugs http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52671 --- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-03-22 20:29:12 UTC --- Author: jakub Date: Thu Mar 22 20:29:01 2012 New Revision: 185711 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=185711 Log: PR c++/52671 * decl.c (check_tag_decl): Only use CLASSTYPE_TEMPLATE_INSTANTIATION on CLASS_TYPE_P types. * g++.dg/ext/attrib44.C: New test. Added: branches/gcc-4_7-branch/gcc/testsuite/g++.dg/ext/attrib44.C ^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug c++/52671] [4.7/4.8 Regression] ICE with misplaced attribute on enum 2012-03-22 16:41 [Bug c++/52671] New: [4.7/4.8 Regression] ICE with misplaced attribute on enum jakub at gcc dot gnu.org ` (3 preceding siblings ...) 2012-03-22 20:30 ` jakub at gcc dot gnu.org @ 2012-03-22 20:33 ` jakub at gcc dot gnu.org 2012-04-03 16:19 ` doko at gcc dot gnu.org 5 siblings, 0 replies; 7+ messages in thread From: jakub at gcc dot gnu.org @ 2012-03-22 20:33 UTC (permalink / raw) To: gcc-bugs http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52671 Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |FIXED --- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-03-22 20:30:37 UTC --- Fixed. ^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug c++/52671] [4.7/4.8 Regression] ICE with misplaced attribute on enum 2012-03-22 16:41 [Bug c++/52671] New: [4.7/4.8 Regression] ICE with misplaced attribute on enum jakub at gcc dot gnu.org ` (4 preceding siblings ...) 2012-03-22 20:33 ` jakub at gcc dot gnu.org @ 2012-04-03 16:19 ` doko at gcc dot gnu.org 5 siblings, 0 replies; 7+ messages in thread From: doko at gcc dot gnu.org @ 2012-04-03 16:19 UTC (permalink / raw) To: gcc-bugs http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52671 Matthias Klose <doko at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |doko at gcc dot gnu.org --- Comment #6 from Matthias Klose <doko at gcc dot gnu.org> 2012-04-03 16:18:28 UTC --- *** Bug 52834 has been marked as a duplicate of this bug. *** ^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2012-04-03 16:19 UTC | newest] Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2012-03-22 16:41 [Bug c++/52671] New: [4.7/4.8 Regression] ICE with misplaced attribute on enum jakub at gcc dot gnu.org 2012-03-22 17:00 ` [Bug c++/52671] " jakub at gcc dot gnu.org 2012-03-22 20:28 ` jakub at gcc dot gnu.org 2012-03-22 20:29 ` jakub at gcc dot gnu.org 2012-03-22 20:30 ` jakub at gcc dot gnu.org 2012-03-22 20:33 ` jakub at gcc dot gnu.org 2012-04-03 16:19 ` doko at gcc dot gnu.org
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).