--- Comment #5 from mmitchel at gcc dot gnu dot org 2006-10-02 04:12
---
Subject: Bug 29080
Author: mmitchel
Date: Mon Oct 2 04:12:30 2006
New Revision: 117360
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=117360
Log:
PR c++/29080
* parser.c (cp_parser_postfix
--
mmitchel at gcc dot gnu dot org changed:
What|Removed |Added
AssignedTo|unassigned at gcc dot gnu |mark at codesourcery dot com
|dot org
--- Comment #4 from steven at gcc dot gnu dot org 2006-09-23 15:19 ---
Breakpoint 1, fancy_abort (file=0xde98b0 "../../trunk/gcc/cp/class.c",
line=272,
function=0xde98a0 "build_base_path") at ../../trunk/gcc/diagnostic.c:642
642 internal_error ("in %s, at %s:%d", function, trim
--
mmitchel at gcc dot gnu dot org changed:
What|Removed |Added
Priority|P3 |P1
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29080
--- Comment #3 from bangerth at dealii dot org 2006-09-15 13:49 ---
Confirmed. This is the valid testcase:
struct Base {
template void method() { }
};
struct Left : public Base { };
struct Right : public Base { };
struct Join : public Left, public Right { };
void
--- Comment #2 from raymond at corvil dot com 2006-09-14 15:58 ---
Line 13 in the sample code is invalid code but line 14 is valid (Base is an
unambiguous base class of Left). Deleting line 13 leaves code that compiles
cleanly with gcc-3.3.5 (i386-portbld-freebsd4.8, gcc version 3.3.5 2
--- Comment #1 from pinskia at gcc dot gnu dot org 2006-09-14 15:33 ---
This is invalid code, 3.3.3 and before gave the following error:
t.cc: In function `void function()':
t.cc:13: error: `Base' is an ambiguous base of `Join'
Which is correct.
Also we don't get an ICE if we try with a