public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/25633]  New: [3.4/4.0/4.1/4.2 regression] ICE on invalid initializer in constructor
@ 2006-01-02 12:19 reichelt at gcc dot gnu dot org
  2006-01-02 16:46 ` [Bug c++/25633] " pinskia at gcc dot gnu dot org
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2006-01-02 12:19 UTC (permalink / raw)
  To: gcc-bugs

The following code snippet causes an ICE since GCC 3.4.0:

==============================
struct A {};

struct B : A
{
    B() : A {}
};
==============================

bug.cc: In constructor 'B::B()':
bug.cc:5: error: expected `(' before '{' token
bug.cc:5: internal compiler error: in expand_aggr_init_1, at cp/init.c:1264
Please submit a full bug report, [etc.]


-- 
           Summary: [3.4/4.0/4.1/4.2 regression] ICE on invalid initializer
                    in constructor
           Product: gcc
           Version: 4.2.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=25633



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

end of thread, other threads:[~2006-03-01  5:08 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-01-02 12:19 [Bug c++/25633] New: [3.4/4.0/4.1/4.2 regression] ICE on invalid initializer in constructor reichelt at gcc dot gnu dot org
2006-01-02 16:46 ` [Bug c++/25633] " pinskia at gcc dot gnu dot org
2006-01-03  0:51 ` mmitchel at gcc dot gnu dot org
2006-01-03  8:38 ` mmitchel at gcc dot gnu dot org
2006-01-03  8:40 ` mmitchel at gcc dot gnu dot org
2006-01-03  8:41 ` mmitchel at gcc dot gnu dot org
2006-01-03  8:50 ` [Bug c++/25633] [3.4 " mmitchel at gcc dot gnu dot org
2006-03-01  5:08 ` 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).