public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/30298] New: [4.2/4.3 regression] ICE with duplicate broken inheritance
@ 2006-12-26 11:47 reichelt at gcc dot gnu dot org
2006-12-26 11:48 ` [Bug c++/30298] " reichelt at gcc dot gnu dot org
` (16 more replies)
0 siblings, 17 replies; 18+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2006-12-26 11:47 UTC (permalink / raw)
To: gcc-bugs
==================================
union A {};
struct B : A {};
struct B : A {};
==================================
bug.cc:3: error: base type 'A' fails to be a struct or class type
bug.cc:4: internal compiler error: in xref_basetypes, at cp/decl.c:9865
Please submit a full bug report, [etc.]
--
Summary: [4.2/4.3 regression] ICE with duplicate broken
inheritance
Product: gcc
Version: 4.3.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=30298
^ permalink raw reply [flat|nested] 18+ messages in thread
* [Bug c++/30298] [4.2/4.3 regression] ICE with duplicate broken inheritance
2006-12-26 11:47 [Bug c++/30298] New: [4.2/4.3 regression] ICE with duplicate broken inheritance reichelt at gcc dot gnu dot org
@ 2006-12-26 11:48 ` reichelt at gcc dot gnu dot org
2006-12-26 22:33 ` pinskia at gcc dot gnu dot org
` (15 subsequent siblings)
16 siblings, 0 replies; 18+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2006-12-26 11:48 UTC (permalink / raw)
To: gcc-bugs
--
reichelt at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |4.2.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30298
^ permalink raw reply [flat|nested] 18+ messages in thread
* [Bug c++/30298] [4.2/4.3 regression] ICE with duplicate broken inheritance
2006-12-26 11:47 [Bug c++/30298] New: [4.2/4.3 regression] ICE with duplicate broken inheritance reichelt at gcc dot gnu dot org
2006-12-26 11:48 ` [Bug c++/30298] " reichelt at gcc dot gnu dot org
@ 2006-12-26 22:33 ` pinskia at gcc dot gnu dot org
2007-02-19 20:58 ` mmitchel at gcc dot gnu dot org
` (14 subsequent siblings)
16 siblings, 0 replies; 18+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-12-26 22:33 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from pinskia at gcc dot gnu dot org 2006-12-26 22:33 -------
Confirmed.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2006-12-26 22:33:06
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30298
^ permalink raw reply [flat|nested] 18+ messages in thread
* [Bug c++/30298] [4.2/4.3 regression] ICE with duplicate broken inheritance
2006-12-26 11:47 [Bug c++/30298] New: [4.2/4.3 regression] ICE with duplicate broken inheritance reichelt at gcc dot gnu dot org
2006-12-26 11:48 ` [Bug c++/30298] " reichelt at gcc dot gnu dot org
2006-12-26 22:33 ` pinskia at gcc dot gnu dot org
@ 2007-02-19 20:58 ` mmitchel at gcc dot gnu dot org
2007-05-14 21:32 ` mmitchel at gcc dot gnu dot org
` (13 subsequent siblings)
16 siblings, 0 replies; 18+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2007-02-19 20:58 UTC (permalink / raw)
To: gcc-bugs
--
mmitchel at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Priority|P3 |P4
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30298
^ permalink raw reply [flat|nested] 18+ messages in thread
* [Bug c++/30298] [4.2/4.3 regression] ICE with duplicate broken inheritance
2006-12-26 11:47 [Bug c++/30298] New: [4.2/4.3 regression] ICE with duplicate broken inheritance reichelt at gcc dot gnu dot org
` (2 preceding siblings ...)
2007-02-19 20:58 ` mmitchel at gcc dot gnu dot org
@ 2007-05-14 21:32 ` mmitchel at gcc dot gnu dot org
2007-07-20 3:50 ` mmitchel at gcc dot gnu dot org
` (12 subsequent siblings)
16 siblings, 0 replies; 18+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2007-05-14 21:32 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from mmitchel at gcc dot gnu dot org 2007-05-14 22:27 -------
Will not be fixed in 4.2.0; retargeting at 4.2.1.
--
mmitchel at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|4.2.0 |4.2.1
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30298
^ permalink raw reply [flat|nested] 18+ messages in thread
* [Bug c++/30298] [4.2/4.3 regression] ICE with duplicate broken inheritance
2006-12-26 11:47 [Bug c++/30298] New: [4.2/4.3 regression] ICE with duplicate broken inheritance reichelt at gcc dot gnu dot org
` (3 preceding siblings ...)
2007-05-14 21:32 ` mmitchel at gcc dot gnu dot org
@ 2007-07-20 3:50 ` mmitchel at gcc dot gnu dot org
2007-10-09 19:28 ` mmitchel at gcc dot gnu dot org
` (11 subsequent siblings)
16 siblings, 0 replies; 18+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2007-07-20 3:50 UTC (permalink / raw)
To: gcc-bugs
--
mmitchel at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|4.2.1 |4.2.2
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30298
^ permalink raw reply [flat|nested] 18+ messages in thread
* [Bug c++/30298] [4.2/4.3 regression] ICE with duplicate broken inheritance
2006-12-26 11:47 [Bug c++/30298] New: [4.2/4.3 regression] ICE with duplicate broken inheritance reichelt at gcc dot gnu dot org
` (4 preceding siblings ...)
2007-07-20 3:50 ` mmitchel at gcc dot gnu dot org
@ 2007-10-09 19:28 ` mmitchel at gcc dot gnu dot org
2008-02-01 16:58 ` jsm28 at gcc dot gnu dot org
` (10 subsequent siblings)
16 siblings, 0 replies; 18+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2007-10-09 19:28 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from mmitchel at gcc dot gnu dot org 2007-10-09 19:22 -------
Change target milestone to 4.2.3, as 4.2.2 has been released.
--
mmitchel at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|4.2.2 |4.2.3
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30298
^ permalink raw reply [flat|nested] 18+ messages in thread
* [Bug c++/30298] [4.2/4.3 regression] ICE with duplicate broken inheritance
2006-12-26 11:47 [Bug c++/30298] New: [4.2/4.3 regression] ICE with duplicate broken inheritance reichelt at gcc dot gnu dot org
` (5 preceding siblings ...)
2007-10-09 19:28 ` mmitchel at gcc dot gnu dot org
@ 2008-02-01 16:58 ` jsm28 at gcc dot gnu dot org
2008-05-19 20:47 ` [Bug c++/30298] [4.2/4.3/4.4 " jsm28 at gcc dot gnu dot org
` (9 subsequent siblings)
16 siblings, 0 replies; 18+ messages in thread
From: jsm28 at gcc dot gnu dot org @ 2008-02-01 16:58 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from jsm28 at gcc dot gnu dot org 2008-02-01 16:53 -------
4.2.3 is being released now, changing milestones of open bugs to 4.2.4.
--
jsm28 at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|4.2.3 |4.2.4
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30298
^ permalink raw reply [flat|nested] 18+ messages in thread
* [Bug c++/30298] [4.2/4.3/4.4 regression] ICE with duplicate broken inheritance
2006-12-26 11:47 [Bug c++/30298] New: [4.2/4.3 regression] ICE with duplicate broken inheritance reichelt at gcc dot gnu dot org
` (6 preceding siblings ...)
2008-02-01 16:58 ` jsm28 at gcc dot gnu dot org
@ 2008-05-19 20:47 ` jsm28 at gcc dot gnu dot org
2009-03-31 20:06 ` [Bug c++/30298] [4.3/4.4/4.5 " jsm28 at gcc dot gnu dot org
` (8 subsequent siblings)
16 siblings, 0 replies; 18+ messages in thread
From: jsm28 at gcc dot gnu dot org @ 2008-05-19 20:47 UTC (permalink / raw)
To: gcc-bugs
------- Comment #5 from jsm28 at gcc dot gnu dot org 2008-05-19 20:23 -------
4.2.4 is being released, changing milestones to 4.2.5.
--
jsm28 at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|4.2.4 |4.2.5
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30298
^ permalink raw reply [flat|nested] 18+ messages in thread
* [Bug c++/30298] [4.3/4.4/4.5 regression] ICE with duplicate broken inheritance
2006-12-26 11:47 [Bug c++/30298] New: [4.2/4.3 regression] ICE with duplicate broken inheritance reichelt at gcc dot gnu dot org
` (7 preceding siblings ...)
2008-05-19 20:47 ` [Bug c++/30298] [4.2/4.3/4.4 " jsm28 at gcc dot gnu dot org
@ 2009-03-31 20:06 ` jsm28 at gcc dot gnu dot org
2009-08-04 12:35 ` rguenth at gcc dot gnu dot org
` (7 subsequent siblings)
16 siblings, 0 replies; 18+ messages in thread
From: jsm28 at gcc dot gnu dot org @ 2009-03-31 20:06 UTC (permalink / raw)
To: gcc-bugs
------- Comment #6 from jsm28 at gcc dot gnu dot org 2009-03-31 20:06 -------
Closing 4.2 branch.
--
jsm28 at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|[4.2/4.3/4.4/4.5 regression]|[4.3/4.4/4.5 regression] ICE
|ICE with duplicate broken |with duplicate broken
|inheritance |inheritance
Target Milestone|4.2.5 |4.3.4
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30298
^ permalink raw reply [flat|nested] 18+ messages in thread
* [Bug c++/30298] [4.3/4.4/4.5 regression] ICE with duplicate broken inheritance
2006-12-26 11:47 [Bug c++/30298] New: [4.2/4.3 regression] ICE with duplicate broken inheritance reichelt at gcc dot gnu dot org
` (8 preceding siblings ...)
2009-03-31 20:06 ` [Bug c++/30298] [4.3/4.4/4.5 " jsm28 at gcc dot gnu dot org
@ 2009-08-04 12:35 ` rguenth at gcc dot gnu dot org
2010-05-13 16:21 ` [Bug c++/30298] [4.3/4.4/4.5/4.6 " paolo dot carlini at oracle dot com
` (6 subsequent siblings)
16 siblings, 0 replies; 18+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2009-08-04 12:35 UTC (permalink / raw)
To: gcc-bugs
------- Comment #7 from rguenth at gcc dot gnu dot org 2009-08-04 12:28 -------
GCC 4.3.4 is being released, adjusting target milestone.
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|4.3.4 |4.3.5
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30298
^ permalink raw reply [flat|nested] 18+ messages in thread
* [Bug c++/30298] [4.3/4.4/4.5/4.6 regression] ICE with duplicate broken inheritance
2006-12-26 11:47 [Bug c++/30298] New: [4.2/4.3 regression] ICE with duplicate broken inheritance reichelt at gcc dot gnu dot org
` (9 preceding siblings ...)
2009-08-04 12:35 ` rguenth at gcc dot gnu dot org
@ 2010-05-13 16:21 ` paolo dot carlini at oracle dot com
2010-05-13 17:28 ` paolo dot carlini at oracle dot com
` (5 subsequent siblings)
16 siblings, 0 replies; 18+ messages in thread
From: paolo dot carlini at oracle dot com @ 2010-05-13 16:21 UTC (permalink / raw)
To: gcc-bugs
------- Comment #8 from paolo dot carlini at oracle dot com 2010-05-13 16:21 -------
On it.
--
paolo dot carlini at oracle dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |paolo dot carlini at oracle
|dot org |dot com
Status|NEW |ASSIGNED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30298
^ permalink raw reply [flat|nested] 18+ messages in thread
* [Bug c++/30298] [4.3/4.4/4.5/4.6 regression] ICE with duplicate broken inheritance
2006-12-26 11:47 [Bug c++/30298] New: [4.2/4.3 regression] ICE with duplicate broken inheritance reichelt at gcc dot gnu dot org
` (10 preceding siblings ...)
2010-05-13 16:21 ` [Bug c++/30298] [4.3/4.4/4.5/4.6 " paolo dot carlini at oracle dot com
@ 2010-05-13 17:28 ` paolo dot carlini at oracle dot com
2010-05-14 9:43 ` paolo dot carlini at oracle dot com
` (4 subsequent siblings)
16 siblings, 0 replies; 18+ messages in thread
From: paolo dot carlini at oracle dot com @ 2010-05-13 17:28 UTC (permalink / raw)
To: gcc-bugs
------- Comment #9 from paolo dot carlini at oracle dot com 2010-05-13 17:28 -------
Nope.
--
paolo dot carlini at oracle dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|paolo dot carlini at oracle |unassigned at gcc dot gnu
|dot com |dot org
Status|ASSIGNED |NEW
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30298
^ permalink raw reply [flat|nested] 18+ messages in thread
* [Bug c++/30298] [4.3/4.4/4.5/4.6 regression] ICE with duplicate broken inheritance
2006-12-26 11:47 [Bug c++/30298] New: [4.2/4.3 regression] ICE with duplicate broken inheritance reichelt at gcc dot gnu dot org
` (11 preceding siblings ...)
2010-05-13 17:28 ` paolo dot carlini at oracle dot com
@ 2010-05-14 9:43 ` paolo dot carlini at oracle dot com
2010-05-14 15:05 ` paolo dot carlini at oracle dot com
` (3 subsequent siblings)
16 siblings, 0 replies; 18+ messages in thread
From: paolo dot carlini at oracle dot com @ 2010-05-14 9:43 UTC (permalink / raw)
To: gcc-bugs
------- Comment #10 from paolo dot carlini at oracle dot com 2010-05-14 09:42 -------
This is another, slightly different testcase, both must added to the testsuite:
======================
struct A {};
struct B : A, A {};
struct B : A, A {};
======================
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30298
^ permalink raw reply [flat|nested] 18+ messages in thread
* [Bug c++/30298] [4.3/4.4/4.5/4.6 regression] ICE with duplicate broken inheritance
2006-12-26 11:47 [Bug c++/30298] New: [4.2/4.3 regression] ICE with duplicate broken inheritance reichelt at gcc dot gnu dot org
` (12 preceding siblings ...)
2010-05-14 9:43 ` paolo dot carlini at oracle dot com
@ 2010-05-14 15:05 ` paolo dot carlini at oracle dot com
2010-05-20 19:32 ` paolo at gcc dot gnu dot org
` (2 subsequent siblings)
16 siblings, 0 replies; 18+ messages in thread
From: paolo dot carlini at oracle dot com @ 2010-05-14 15:05 UTC (permalink / raw)
To: gcc-bugs
------- Comment #11 from paolo dot carlini at oracle dot com 2010-05-14 15:04 -------
On it, after all ;)
--
paolo dot carlini at oracle dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |paolo dot carlini at oracle
|dot org |dot com
Status|NEW |ASSIGNED
Last reconfirmed|2006-12-26 22:33:06 |2010-05-14 15:04:58
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30298
^ permalink raw reply [flat|nested] 18+ messages in thread
* [Bug c++/30298] [4.3/4.4/4.5/4.6 regression] ICE with duplicate broken inheritance
2006-12-26 11:47 [Bug c++/30298] New: [4.2/4.3 regression] ICE with duplicate broken inheritance reichelt at gcc dot gnu dot org
` (13 preceding siblings ...)
2010-05-14 15:05 ` paolo dot carlini at oracle dot com
@ 2010-05-20 19:32 ` paolo at gcc dot gnu dot org
2010-05-20 19:33 ` paolo dot carlini at oracle dot com
2010-05-20 19:34 ` [Bug c++/30298] [4.3/4.4/4.5 " paolo dot carlini at oracle dot com
16 siblings, 0 replies; 18+ messages in thread
From: paolo at gcc dot gnu dot org @ 2010-05-20 19:32 UTC (permalink / raw)
To: gcc-bugs
------- Comment #12 from paolo at gcc dot gnu dot org 2010-05-20 19:32 -------
Subject: Bug 30298
Author: paolo
Date: Thu May 20 19:31:47 2010
New Revision: 159637
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=159637
Log:
/cp
2010-05-20 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/30298
* decl.c (xref_basetypes): Return false in case of ill-formed
redefinition.
/testsuite
2010-05-20 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/30298
* g++.dg/inherit/crash1.C: New.
* g++.dg/inherit/crash2.C: Likewise.
Added:
trunk/gcc/testsuite/g++.dg/inherit/crash1.C
trunk/gcc/testsuite/g++.dg/inherit/crash2.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/decl.c
trunk/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30298
^ permalink raw reply [flat|nested] 18+ messages in thread
* [Bug c++/30298] [4.3/4.4/4.5/4.6 regression] ICE with duplicate broken inheritance
2006-12-26 11:47 [Bug c++/30298] New: [4.2/4.3 regression] ICE with duplicate broken inheritance reichelt at gcc dot gnu dot org
` (14 preceding siblings ...)
2010-05-20 19:32 ` paolo at gcc dot gnu dot org
@ 2010-05-20 19:33 ` paolo dot carlini at oracle dot com
2010-05-20 19:34 ` [Bug c++/30298] [4.3/4.4/4.5 " paolo dot carlini at oracle dot com
16 siblings, 0 replies; 18+ messages in thread
From: paolo dot carlini at oracle dot com @ 2010-05-20 19:33 UTC (permalink / raw)
To: gcc-bugs
------- Comment #13 from paolo dot carlini at oracle dot com 2010-05-20 19:33 -------
Fixed for 4.6.0.
--
paolo dot carlini at oracle dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|4.3.5 |4.6.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30298
^ permalink raw reply [flat|nested] 18+ messages in thread
* [Bug c++/30298] [4.3/4.4/4.5 regression] ICE with duplicate broken inheritance
2006-12-26 11:47 [Bug c++/30298] New: [4.2/4.3 regression] ICE with duplicate broken inheritance reichelt at gcc dot gnu dot org
` (15 preceding siblings ...)
2010-05-20 19:33 ` paolo dot carlini at oracle dot com
@ 2010-05-20 19:34 ` paolo dot carlini at oracle dot com
16 siblings, 0 replies; 18+ messages in thread
From: paolo dot carlini at oracle dot com @ 2010-05-20 19:34 UTC (permalink / raw)
To: gcc-bugs
--
paolo dot carlini at oracle dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|paolo dot carlini at oracle |unassigned at gcc dot gnu
|dot com |dot org
Status|ASSIGNED |NEW
Summary|[4.3/4.4/4.5/4.6 regression]|[4.3/4.4/4.5 regression] ICE
|ICE with duplicate broken |with duplicate broken
|inheritance |inheritance
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30298
^ permalink raw reply [flat|nested] 18+ messages in thread
end of thread, other threads:[~2010-05-20 19:34 UTC | newest]
Thread overview: 18+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-12-26 11:47 [Bug c++/30298] New: [4.2/4.3 regression] ICE with duplicate broken inheritance reichelt at gcc dot gnu dot org
2006-12-26 11:48 ` [Bug c++/30298] " reichelt at gcc dot gnu dot org
2006-12-26 22:33 ` pinskia at gcc dot gnu dot org
2007-02-19 20:58 ` mmitchel at gcc dot gnu dot org
2007-05-14 21:32 ` mmitchel at gcc dot gnu dot org
2007-07-20 3:50 ` mmitchel at gcc dot gnu dot org
2007-10-09 19:28 ` mmitchel at gcc dot gnu dot org
2008-02-01 16:58 ` jsm28 at gcc dot gnu dot org
2008-05-19 20:47 ` [Bug c++/30298] [4.2/4.3/4.4 " jsm28 at gcc dot gnu dot org
2009-03-31 20:06 ` [Bug c++/30298] [4.3/4.4/4.5 " jsm28 at gcc dot gnu dot org
2009-08-04 12:35 ` rguenth at gcc dot gnu dot org
2010-05-13 16:21 ` [Bug c++/30298] [4.3/4.4/4.5/4.6 " paolo dot carlini at oracle dot com
2010-05-13 17:28 ` paolo dot carlini at oracle dot com
2010-05-14 9:43 ` paolo dot carlini at oracle dot com
2010-05-14 15:05 ` paolo dot carlini at oracle dot com
2010-05-20 19:32 ` paolo at gcc dot gnu dot org
2010-05-20 19:33 ` paolo dot carlini at oracle dot com
2010-05-20 19:34 ` [Bug c++/30298] [4.3/4.4/4.5 " paolo dot carlini at oracle dot com
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).