public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/29732]  New: [4.0/4.1/4.2/4.3 regression] ICE on invalid friend declaration
@ 2006-11-05 23:13 reichelt at gcc dot gnu dot org
  2006-11-05 23:20 ` [Bug c++/29732] " reichelt at gcc dot gnu dot org
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2006-11-05 23:13 UTC (permalink / raw)
  To: gcc-bugs

The following invalid code snippet triggers an ICE since GCC 4.0.0:

=================================================
struct A
{
  template<int> template<typename T> friend void foo(T) {}
  void bar() { foo(0); }
};
=================================================

bug.cc: In member function 'void A::bar()':
bug.cc:4: internal compiler error: in retrieve_specialization, at cp/pt.c:847
Please submit a full bug report, [etc.]


-- 
           Summary: [4.0/4.1/4.2/4.3 regression] ICE on invalid friend
                    declaration
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Keywords: ice-on-invalid-code, 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=29732


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

end of thread, other threads:[~2007-02-03 20:55 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-11-05 23:13 [Bug c++/29732] New: [4.0/4.1/4.2/4.3 regression] ICE on invalid friend declaration reichelt at gcc dot gnu dot org
2006-11-05 23:20 ` [Bug c++/29732] " reichelt at gcc dot gnu dot org
2006-11-12 20:39 ` mmitchel at gcc dot gnu dot org
2006-11-26  0:22 ` pinskia at gcc dot gnu dot org
2006-12-07 18:11 ` mmitchel at gcc dot gnu dot org
2006-12-08  6:27 ` mmitchel at gcc dot gnu dot org
2006-12-08  8:10 ` [Bug c++/29732] [4.0/4.1/4.2 " mmitchel at gcc dot gnu dot org
2006-12-10 23:48 ` mmitchel at gcc dot gnu dot org
2006-12-12  1:47 ` mmitchel at gcc dot gnu dot org
2006-12-12  1:53 ` [Bug c++/29732] [4.0 " mmitchel at gcc dot gnu dot org
2007-02-03 20:55 ` gdr 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).