public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/30156]  New: [4.1/4.2/4.3 regression] ICE on invalid template declaration
@ 2006-12-11 21:08 reichelt at gcc dot gnu dot org
  2006-12-11 21:08 ` [Bug c++/30156] " 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 @ 2006-12-11 21:08 UTC (permalink / raw)
  To: gcc-bugs

The following invalid testcase causes an ICE on the 4.1 branch, 4.2 branch
and mainline (4.1.0 and 4.1.1 are not affected, though):

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

The underlying problem is the same as in PR27961, but cannot be papered
over as easily in this case ;-)


-- 
           Summary: [4.1/4.2/4.3 regression] ICE on invalid 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
 BugsThisDependsOn: 27961


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


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

end of thread, other threads:[~2008-09-07 23:18 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-12-11 21:08 [Bug c++/30156] New: [4.1/4.2/4.3 regression] ICE on invalid template declaration reichelt at gcc dot gnu dot org
2006-12-11 21:08 ` [Bug c++/30156] " reichelt at gcc dot gnu dot org
2006-12-11 21:12 ` reichelt at gcc dot gnu dot org
2006-12-11 23:17 ` lmillward at gcc dot gnu dot org
2006-12-12 21:45 ` patchapp at dberlin dot org
2007-02-05  5:40 ` mmitchel at gcc dot gnu dot org
2007-02-14  9:41 ` mmitchel at gcc dot gnu dot org
2008-07-04 21:46 ` [Bug c++/30156] [4.2/4.3/4.4 " jsm28 at gcc dot gnu dot org
2008-09-07 23:18 ` reichelt 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).