public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/19884] New: [3.3/3.4/4.0 regression] ICE on explicit instantiation of a non-template constructor
@ 2005-02-11  4:29 reichelt at gcc dot gnu dot org
  2005-02-11  5:39 ` [Bug c++/19884] " pinskia 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 @ 2005-02-11  4:29 UTC (permalink / raw)
  To: gcc-bugs

The following code snippet causes an ICE since gcc 3.3:

==========================
struct A;
template A<>::A();
==========================

ctor.cc:2: error: 'A' is not a template
ctor.cc:2: error: explicit qualification in declaration of `A A()'
ctor.cc:2: internal compiler error: in lookup_template_function, at cp/pt.c:4245
Please submit a full bug report, [etc.]

This is similar to PR 19764 (only with the constructor instead of the
destructor), but the failure is in a different position and it's not fixed
in mainline.

-- 
           Summary: [3.3/3.4/4.0 regression] ICE on explicit instantiation
                    of a non-template constructor
           Product: gcc
           Version: 4.0.0
            Status: UNCONFIRMED
          Keywords: ice-on-invalid-code, error-recovery, monitored
          Severity: normal
          Priority: P2
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: reichelt at gcc dot gnu dot org
                CC: gcc-bugs at gcc dot gnu dot org


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


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

end of thread, other threads:[~2005-06-09  7:48 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-02-11  4:29 [Bug c++/19884] New: [3.3/3.4/4.0 regression] ICE on explicit instantiation of a non-template constructor reichelt at gcc dot gnu dot org
2005-02-11  5:39 ` [Bug c++/19884] " pinskia at gcc dot gnu dot org
2005-02-11  5:56 ` pinskia at gcc dot gnu dot org
2005-02-14 15:41 ` nathan at gcc dot gnu dot org
2005-02-14 17:55 ` nathan at gcc dot gnu dot org
2005-02-14 18:50 ` cvs-commit at gcc dot gnu dot org
2005-02-15 20:53 ` [Bug c++/19884] [3.3/3.4 " reichelt at gcc dot gnu dot org
2005-04-16 22:03 ` pinskia at gcc dot gnu dot org
2005-05-19 17:48 ` mmitchel at gcc dot gnu dot org
2005-06-09  7:48 ` [Bug c++/19884] " nathan at gcc dot gnu dot org
2005-06-09  7:48 ` [Bug c++/19884] [3.4 regression] " cvs-commit 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).