public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
* [Bug c++/51226] New: [c++0x] ICE with opaque enum and invalid template @ 2011-11-19 20:37 reichelt at gcc dot gnu.org 2012-01-19 6:02 ` [Bug c++/51226] " pinskia at gcc dot gnu.org ` (2 more replies) 0 siblings, 3 replies; 4+ messages in thread From: reichelt at gcc dot gnu.org @ 2011-11-19 20:37 UTC (permalink / raw) To: gcc-bugs http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51226 Bug #: 51226 Summary: [c++0x] ICE with opaque enum and invalid template Classification: Unclassified Product: gcc Version: 4.7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned@gcc.gnu.org ReportedBy: reichelt@gcc.gnu.org The following invalid code snippet triggers an ICE since GCC 4.6.0: ======================================= template<int> struct A { enum E : int; }; template<> enum A<>::E : int {}; ======================================= bug.cc:6:19: error: wrong number of template arguments (0, should be 1) bug.cc:1:22: error: provided for 'template<int <anonymous> > struct A' bug.cc:6:26: internal compiler error: in is_ancestor, at cp/name-lookup.c:2586 Please submit a full bug report, [etc.] ^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug c++/51226] [c++0x] ICE with opaque enum and invalid template 2011-11-19 20:37 [Bug c++/51226] New: [c++0x] ICE with opaque enum and invalid template reichelt at gcc dot gnu.org @ 2012-01-19 6:02 ` pinskia at gcc dot gnu.org 2013-05-07 0:27 ` paolo.carlini at oracle dot com 2013-05-08 15:23 ` paolo.carlini at oracle dot com 2 siblings, 0 replies; 4+ messages in thread From: pinskia at gcc dot gnu.org @ 2012-01-19 6:02 UTC (permalink / raw) To: gcc-bugs http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51226 Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2012-01-19 Ever Confirmed|0 |1 --- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> 2012-01-19 05:48:45 UTC --- Confirmed. ^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug c++/51226] [c++0x] ICE with opaque enum and invalid template 2011-11-19 20:37 [Bug c++/51226] New: [c++0x] ICE with opaque enum and invalid template reichelt at gcc dot gnu.org 2012-01-19 6:02 ` [Bug c++/51226] " pinskia at gcc dot gnu.org @ 2013-05-07 0:27 ` paolo.carlini at oracle dot com 2013-05-08 15:23 ` paolo.carlini at oracle dot com 2 siblings, 0 replies; 4+ messages in thread From: paolo.carlini at oracle dot com @ 2013-05-07 0:27 UTC (permalink / raw) To: gcc-bugs http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51226 Paolo Carlini <paolo.carlini at oracle dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED AssignedTo|unassigned at gcc dot |paolo.carlini at oracle dot |gnu.org |com --- Comment #2 from Paolo Carlini <paolo.carlini at oracle dot com> 2013-05-07 00:27:26 UTC --- On it. ^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug c++/51226] [c++0x] ICE with opaque enum and invalid template 2011-11-19 20:37 [Bug c++/51226] New: [c++0x] ICE with opaque enum and invalid template reichelt at gcc dot gnu.org 2012-01-19 6:02 ` [Bug c++/51226] " pinskia at gcc dot gnu.org 2013-05-07 0:27 ` paolo.carlini at oracle dot com @ 2013-05-08 15:23 ` paolo.carlini at oracle dot com 2 siblings, 0 replies; 4+ messages in thread From: paolo.carlini at oracle dot com @ 2013-05-08 15:23 UTC (permalink / raw) To: gcc-bugs http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51226 Paolo Carlini <paolo.carlini at oracle dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED Target Milestone|--- |4.9.0 --- Comment #3 from Paolo Carlini <paolo.carlini at oracle dot com> 2013-05-08 15:22:56 UTC --- Fixed for 4.9.0. ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2013-05-08 15:23 UTC | newest] Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2011-11-19 20:37 [Bug c++/51226] New: [c++0x] ICE with opaque enum and invalid template reichelt at gcc dot gnu.org 2012-01-19 6:02 ` [Bug c++/51226] " pinskia at gcc dot gnu.org 2013-05-07 0:27 ` paolo.carlini at oracle dot com 2013-05-08 15:23 ` paolo.carlini at oracle dot com
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).