public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/34603]  New: [4.1/4.2/4.3 regression] ICE with broken template declaration
@ 2007-12-28  2:36 reichelt at gcc dot gnu dot org
  2007-12-28  2:36 ` [Bug c++/34603] " reichelt at gcc dot gnu dot org
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2007-12-28  2:36 UTC (permalink / raw)
  To: gcc-bugs

The following invalid testcase triggers an ICE since GCC 4.0.0:

========================================
template<typename> struct A;

template<typename T> A<T>::A( struct A;
========================================

bug.cc:3: error: template definition of non-template 'struct A<
<template-parameter-1-1> >::A'
bug.cc:3: internal compiler error: in push_class_level_binding, at
cp/name-lookup.c:2659
Please submit a full bug report, [etc.]


-- 
           Summary: [4.1/4.2/4.3 regression] ICE with broken template
                    declaration
           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=34603


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

end of thread, other threads:[~2009-03-31 14:58 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-12-28  2:36 [Bug c++/34603] New: [4.1/4.2/4.3 regression] ICE with broken template declaration reichelt at gcc dot gnu dot org
2007-12-28  2:36 ` [Bug c++/34603] " reichelt at gcc dot gnu dot org
2008-01-13  2:44 ` bangerth at dealii dot org
2008-01-24 11:07 ` pcarlini at suse dot de
2008-01-24 18:59 ` andreasmeier80 at gmx dot de
2008-01-24 20:10 ` paolo at gcc dot gnu dot org
2008-01-24 20:54 ` [Bug c++/34603] [4.1/4.2 " pcarlini at suse dot de
2008-07-04 22:28 ` [Bug c++/34603] [4.2 " jsm28 at gcc dot gnu dot org
2009-03-31 14:58 ` 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).