public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/15035] New: ICE on public public inheritance
@ 2004-04-21 7:39 gianni at mariani dot ws
2004-04-21 8:32 ` [Bug c++/15035] " gianni at mariani dot ws
` (9 more replies)
0 siblings, 10 replies; 11+ messages in thread
From: gianni at mariani dot ws @ 2004-04-21 7:39 UTC (permalink / raw)
To: gcc-bugs
The code below will cause an ICE on gcc-3.4-20040121.
struct zoo {};
class foo
: public public zoo
{
};
--
Summary: ICE on public public inheritance
Product: gcc
Version: 3.4.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: gianni at mariani dot ws
CC: gcc-bugs at gcc dot gnu dot org
GCC build triplet: i386-redhat-linux
GCC host triplet: i386-redhat-linux
GCC target triplet: i386-redhat-linux
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15035
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug c++/15035] ICE on public public inheritance
2004-04-21 7:39 [Bug c++/15035] New: ICE on public public inheritance gianni at mariani dot ws
@ 2004-04-21 8:32 ` gianni at mariani dot ws
2004-04-21 11:23 ` [Bug c++/15035] [3.4 Regression] ICE on inheritance with "public public" giovannibajo at libero dot it
` (8 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: gianni at mariani dot ws @ 2004-04-21 8:32 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From gianni at mariani dot ws 2004-04-21 06:55 -------
added ice-on-invalid-code keyword.
--
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |ice-on-invalid-code
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15035
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug c++/15035] [3.4 Regression] ICE on inheritance with "public public"
2004-04-21 7:39 [Bug c++/15035] New: ICE on public public inheritance gianni at mariani dot ws
2004-04-21 8:32 ` [Bug c++/15035] " gianni at mariani dot ws
@ 2004-04-21 11:23 ` giovannibajo at libero dot it
2004-04-21 12:36 ` pinskia at gcc dot gnu dot org
` (7 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: giovannibajo at libero dot it @ 2004-04-21 11:23 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From giovannibajo at libero dot it 2004-04-21 10:58 -------
Confirmed on the 3.4 branch only, it is already fixed in mainline. If somebody
could spot the patch that fixed this, we could backport it to the branch.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Known to fail| |3.4.0
Known to work| |3.5.0 3.3.3
Last reconfirmed|0000-00-00 00:00:00 |2004-04-21 10:58:28
date| |
Summary|ICE on public public |[3.4 Regression] ICE on
|inheritance |inheritance with "public
| |public"
Target Milestone|--- |3.4.1
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15035
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug c++/15035] [3.4 Regression] ICE on inheritance with "public public"
2004-04-21 7:39 [Bug c++/15035] New: ICE on public public inheritance gianni at mariani dot ws
2004-04-21 8:32 ` [Bug c++/15035] " gianni at mariani dot ws
2004-04-21 11:23 ` [Bug c++/15035] [3.4 Regression] ICE on inheritance with "public public" giovannibajo at libero dot it
@ 2004-04-21 12:36 ` pinskia at gcc dot gnu dot org
2004-04-21 14:34 ` bangerth at dealii dot org
` (6 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-04-21 12:36 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-04-21 11:44 -------
Mark you fixed this on the mainline with the patch for PR 13975 but for some reason the patch did not
reach the 3.4 branch or there is some cvs weirdness going on here.
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |mark at codesourcery dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15035
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug c++/15035] [3.4 Regression] ICE on inheritance with "public public"
2004-04-21 7:39 [Bug c++/15035] New: ICE on public public inheritance gianni at mariani dot ws
` (2 preceding siblings ...)
2004-04-21 12:36 ` pinskia at gcc dot gnu dot org
@ 2004-04-21 14:34 ` bangerth at dealii dot org
2004-04-21 15:12 ` pinskia at gcc dot gnu dot org
` (5 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: bangerth at dealii dot org @ 2004-04-21 14:34 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From bangerth at dealii dot org 2004-04-21 14:06 -------
With my snapshots from 20040402, I get for both the 3.4 branch and
mainline:
g/x> /home/bangerth/bin/gcc-3.4-pre/bin/c++ -c x.cc
x.cc:4: error: more than one access specifier in base-specified before
"public"
g/x> /home/bangerth/bin/gcc-3.5-pre/bin/c++ -c x.cc
x.cc:4: error: more than one access specifier in base-specified before
"public"
Andrew, which version of the branch did you try?
Gianni: could you try with a newer version of 3.4 (or even the release)?
Thanks
Wolfgang
--
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |WAITING
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15035
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug c++/15035] [3.4 Regression] ICE on inheritance with "public public"
2004-04-21 7:39 [Bug c++/15035] New: ICE on public public inheritance gianni at mariani dot ws
` (3 preceding siblings ...)
2004-04-21 14:34 ` bangerth at dealii dot org
@ 2004-04-21 15:12 ` pinskia at gcc dot gnu dot org
2004-04-21 15:17 ` giovannibajo at libero dot it
` (4 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-04-21 15:12 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-04-21 14:09 -------
I note that in the release tar ball, the patch is there but not on the branch for some reason. The two
versions of the tree.h (where the fix is) are different for the tag for the branch and the release. The tag
for the release is newer than the tag for the branch.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15035
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug c++/15035] [3.4 Regression] ICE on inheritance with "public public"
2004-04-21 7:39 [Bug c++/15035] New: ICE on public public inheritance gianni at mariani dot ws
` (4 preceding siblings ...)
2004-04-21 15:12 ` pinskia at gcc dot gnu dot org
@ 2004-04-21 15:17 ` giovannibajo at libero dot it
2004-04-21 15:20 ` bangerth at dealii dot org
` (3 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: giovannibajo at libero dot it @ 2004-04-21 15:17 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From giovannibajo at libero dot it 2004-04-21 14:16 -------
Wolfgang, the patch is in the released version, but there is a CVS problem
going on: if you update the source using the tag "gcc-3_4-branch", the patch
for PR 13975 (and many others) does not get pulled for some weird reason.
The bug itself is fixed, but I would like to have the CVS fixed as well.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15035
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug c++/15035] [3.4 Regression] ICE on inheritance with "public public"
2004-04-21 7:39 [Bug c++/15035] New: ICE on public public inheritance gianni at mariani dot ws
` (5 preceding siblings ...)
2004-04-21 15:17 ` giovannibajo at libero dot it
@ 2004-04-21 15:20 ` bangerth at dealii dot org
2004-04-21 15:58 ` giovannibajo at libero dot it
` (2 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: bangerth at dealii dot org @ 2004-04-21 15:20 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From bangerth at dealii dot org 2004-04-21 14:33 -------
Uh, that is off. How did I get to have a 3.4 CVS snapshot then that
has the fix?
My CVS checkout certainly contains this patch:
2004-02-03 Mark Mitchell <mark@codesourcery.com>
PR c++/13925
* decl.c (start_function): Do not call pushdecl for any
instantiation or specialization of a primary template.
PR c++/14002
* semantics.c (finish_id_expression): Do not return an
IDENTIFIER_NODE when lookup finds a PARM_DECL.
PR c++/13978
* pt.c (build_non_dependent_expr): Do not build
NON_DEPENDENT_EXPRs for FUNCTION_DECLs or TEMPLATE_DECLs.
PR c++/13968
* semantics.c (finish_id_expression): Do not return an
IDENTIFIER_NODE when lookup finds a VAR_DECL.
PR c++/13975
* parser.c (cp_parser_simple_declaration): When skipping to the
end of the statement swallow the terminating semicolon.
W.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15035
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug c++/15035] [3.4 Regression] ICE on inheritance with "public public"
2004-04-21 7:39 [Bug c++/15035] New: ICE on public public inheritance gianni at mariani dot ws
` (6 preceding siblings ...)
2004-04-21 15:20 ` bangerth at dealii dot org
@ 2004-04-21 15:58 ` giovannibajo at libero dot it
2004-04-21 16:02 ` bangerth at dealii dot org
2004-04-21 17:19 ` gianni at mariani dot ws
9 siblings, 0 replies; 11+ messages in thread
From: giovannibajo at libero dot it @ 2004-04-21 15:58 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From giovannibajo at libero dot it 2004-04-21 15:30 -------
Try "cvs up -dPC -r gcc-3_4-branch".
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15035
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug c++/15035] [3.4 Regression] ICE on inheritance with "public public"
2004-04-21 7:39 [Bug c++/15035] New: ICE on public public inheritance gianni at mariani dot ws
` (7 preceding siblings ...)
2004-04-21 15:58 ` giovannibajo at libero dot it
@ 2004-04-21 16:02 ` bangerth at dealii dot org
2004-04-21 17:19 ` gianni at mariani dot ws
9 siblings, 0 replies; 11+ messages in thread
From: bangerth at dealii dot org @ 2004-04-21 16:02 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From bangerth at dealii dot org 2004-04-21 15:54 -------
I use contrib/gcc_update and I seem to be getting the right thing.
In any case, I have no clue what is going on over with you, and I
don't think I can help you here :-(
W.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15035
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug c++/15035] [3.4 Regression] ICE on inheritance with "public public"
2004-04-21 7:39 [Bug c++/15035] New: ICE on public public inheritance gianni at mariani dot ws
` (8 preceding siblings ...)
2004-04-21 16:02 ` bangerth at dealii dot org
@ 2004-04-21 17:19 ` gianni at mariani dot ws
9 siblings, 0 replies; 11+ messages in thread
From: gianni at mariani dot ws @ 2004-04-21 17:19 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From gianni at mariani dot ws 2004-04-21 16:56 -------
> Gianni: could you try with a newer version of 3.4 (or even the release)?
OK.
I was NOT able to reproduce this problem with 3.4.0.
I'm going to resolve this bug as INVALID - however if there is a CVS problem (as
some have indicated), you're welcome to reopen this (and change the summary) or
open a new bug.
Good job. My bad (again...)
--
What |Removed |Added
----------------------------------------------------------------------------
Status|WAITING |RESOLVED
Resolution| |INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15035
^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2004-04-21 16:56 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-04-21 7:39 [Bug c++/15035] New: ICE on public public inheritance gianni at mariani dot ws
2004-04-21 8:32 ` [Bug c++/15035] " gianni at mariani dot ws
2004-04-21 11:23 ` [Bug c++/15035] [3.4 Regression] ICE on inheritance with "public public" giovannibajo at libero dot it
2004-04-21 12:36 ` pinskia at gcc dot gnu dot org
2004-04-21 14:34 ` bangerth at dealii dot org
2004-04-21 15:12 ` pinskia at gcc dot gnu dot org
2004-04-21 15:17 ` giovannibajo at libero dot it
2004-04-21 15:20 ` bangerth at dealii dot org
2004-04-21 15:58 ` giovannibajo at libero dot it
2004-04-21 16:02 ` bangerth at dealii dot org
2004-04-21 17:19 ` gianni at mariani dot ws
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).