public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/40406]  New: ICE with broken template member declaration
@ 2009-06-10 20:01 reichelt at gcc dot gnu dot org
  2009-08-25 15:34 ` [Bug c++/40406] " bangerth at gmail dot com
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2009-06-10 20:01 UTC (permalink / raw)
  To: gcc-bugs

The following invalid code snippet triggers an ICE since at least GCC 2.95.3:

================================================
template<int> struct A
{
  template<int> template<int> void A::foo() {}
};
================================================

bug.cc:3:36: error: extra qualification 'A<<anonymous> >::' on member 'foo'
bug.cc:3:45: internal compiler error: Segmentation fault
Please submit a full bug report, [etc.]


-- 
           Summary: ICE with broken template member declaration
           Product: gcc
           Version: 4.5.0
            Status: UNCONFIRMED
          Keywords: ice-on-invalid-code, error-recovery, monitored
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: reichelt at gcc dot gnu dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40406


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2010-05-06 16:09 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-06-10 20:01 [Bug c++/40406] New: ICE with broken template member declaration reichelt at gcc dot gnu dot org
2009-08-25 15:34 ` [Bug c++/40406] " bangerth at gmail dot com
2010-05-05  0:37 ` paolo dot carlini at oracle dot com
2010-05-06  6:05 ` reichelt at gcc dot gnu dot org
2010-05-06 15:35 ` paolo dot carlini at oracle dot com
2010-05-06 16:08 ` paolo at gcc dot gnu dot org
2010-05-06 16:08 ` paolo at gcc dot gnu dot org
2010-05-06 16:09 ` paolo dot 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).