public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/29573]  New: [4.0/4.1/4.2/4.3 regression] ICE after parse error in template argument
@ 2006-10-23 20:18 reichelt at gcc dot gnu dot org
  2006-10-23 20:18 ` [Bug c++/29573] " reichelt at gcc dot gnu dot org
                   ` (10 more replies)
  0 siblings, 11 replies; 12+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2006-10-23 20:18 UTC (permalink / raw)
  To: gcc-bugs

The following invalid code snippet triggers a segfault since GCC 3.4.0:

==================================================
template<int> struct A {};

template<typename> struct B : A <sizeof(=)> {};

template<typename> struct C : A <sizeof(=)> {};
==================================================

bug.cc:3: error: parse error in template argument list
bug.cc:5: internal compiler error: Segmentation fault
Please submit a full bug report, [etc.]


-- 
           Summary: [4.0/4.1/4.2/4.3 regression] ICE after parse error in
                    template argument
           Product: gcc
           Version: 4.3.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=29573


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

end of thread, other threads:[~2009-03-30 19:41 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-10-23 20:18 [Bug c++/29573] New: [4.0/4.1/4.2/4.3 regression] ICE after parse error in template argument reichelt at gcc dot gnu dot org
2006-10-23 20:18 ` [Bug c++/29573] " reichelt at gcc dot gnu dot org
2006-10-26 13:05 ` pinskia at gcc dot gnu dot org
2006-11-06  6:41 ` patchapp at dberlin dot org
2006-11-13  3:22 ` mmitchel at gcc dot gnu dot org
2007-01-11 19:46 ` simartin at gcc dot gnu dot org
2007-01-13 17:08 ` [Bug c++/29573] [4.0/4.1/4.2 " reichelt at gcc dot gnu dot org
2007-02-03 20:44 ` gdr at gcc dot gnu dot org
2007-02-03 20:46 ` pinskia at gcc dot gnu dot org
2007-02-14  9:26 ` mmitchel at gcc dot gnu dot org
2008-07-04 21:43 ` [Bug c++/29573] [4.2 " jsm28 at gcc dot gnu dot org
2009-03-30 19:41 ` jsm28 at gcc dot gnu dot 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).