public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/20157] New: Internal compiler error on invalid code
@ 2005-02-23 14:05 sstrasser at systemhaus-gruppe dot de
  2005-02-23 15:43 ` [Bug c++/20157] [4.0 Regression] " pinskia at gcc dot gnu dot org
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: sstrasser at systemhaus-gruppe dot de @ 2005-02-23 14:05 UTC (permalink / raw)
  To: gcc-bugs

4.0.0 outputs internal compiler error on the following invalid code.
3.3/3.4 silently ignores it.

if the invalid template function specialization is a definition 3.3/3.4
correctly reports it, 4.0.0 still outputs an internal compiler error.

template<typename AT>
struct A{
  template<typename T>
  void function(T);
};

template<>
template<typename ABC,typename DEF>
void A<int>::function(ABC);

-- 
           Summary: Internal compiler error on invalid code
           Product: gcc
           Version: 4.0.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: sstrasser at systemhaus-gruppe dot de
                CC: gcc-bugs at gcc dot gnu dot org


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


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

end of thread, other threads:[~2005-03-14  4:02 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-02-23 14:05 [Bug c++/20157] New: Internal compiler error on invalid code sstrasser at systemhaus-gruppe dot de
2005-02-23 15:43 ` [Bug c++/20157] [4.0 Regression] " pinskia at gcc dot gnu dot org
2005-02-24 15:55 ` reichelt at gcc dot gnu dot org
2005-02-24 17:11 ` sstrasser at systemhaus-gruppe dot de
2005-02-24 17:17 ` pinskia at gcc dot gnu dot org
2005-03-11  6:19 ` [Bug c++/20157] [4.0/4.1 " mmitchel at gcc dot gnu dot org
2005-03-14  3:54 ` cvs-commit at gcc dot gnu dot org
2005-03-14  3:59 ` cvs-commit at gcc dot gnu dot org
2005-03-14  4:02 ` mmitchel 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).