public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/37647]  New: [4.3/4.4 regression] ICE with invalid use of constructor
@ 2008-09-25  7:06 reichelt at gcc dot gnu dot org
  2008-09-25  7:07 ` [Bug c++/37647] " reichelt at gcc dot gnu dot org
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2008-09-25  7:06 UTC (permalink / raw)
  To: gcc-bugs

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

==========================
struct A
{
  A() { void A(); }
};
==========================

bug.cc: In constructor 'A::A()':
bug.cc:3: error: return type specification for constructor invalid
bug.cc:3: internal compiler error: in copy_fn_p, at cp/decl.c:9677
Please submit a full bug report, [etc.]


-- 
           Summary: [4.3/4.4 regression] ICE with invalid use of constructor
           Product: gcc
           Version: 4.4.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=37647


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

end of thread, other threads:[~2009-04-22 15:28 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-09-25  7:06 [Bug c++/37647] New: [4.3/4.4 regression] ICE with invalid use of constructor reichelt at gcc dot gnu dot org
2008-09-25  7:07 ` [Bug c++/37647] " reichelt at gcc dot gnu dot org
2008-09-28 19:55 ` pinskia at gcc dot gnu dot org
2008-10-02 19:44 ` simartin at gcc dot gnu dot org
2008-10-03  3:39 ` simartin at gcc dot gnu dot org
2008-10-10  9:15 ` rguenth at gcc dot gnu dot org
2009-01-24 10:26 ` rguenth at gcc dot gnu dot org
2009-03-27  7:18 ` andreasmeier80 at gmx dot de
2009-03-27 13:18 ` hjl at gcc dot gnu dot org
2009-04-22 15:29 ` [Bug c++/37647] [4.3 " rguenth 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).