[Bug c++/12064] New: [3.4 regression] ICE with -O3 in expand_or_defer_fn at cp/semantics.c:2921
ehrhardt at mathematik dot uni-ulm dot de
gcc-bugzilla@gcc.gnu.org
Tue Aug 26 11:43:00 GMT 2003
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12064
Summary: [3.4 regression] ICE with -O3 in expand_or_defer_fn at
cp/semantics.c:2921
Product: gcc
Version: 3.4
Status: UNCONFIRMED
Keywords: ice-on-valid-code
Severity: critical
Priority: P2
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: ehrhardt at mathematik dot uni-ulm dot de
CC: gcc-bugs at gcc dot gnu dot org,stip at mathematik dot
uni-ulm dot de
GCC target triplet: sparc-sun-solaris2.9
The following piece of code ICEs 3.4 (20030729). This is a regression
on the 3.4 branch because 20030620 compiled the code just fine.
Compile with -O3.
----------------------- cut ---------------------------
template < class > struct ConstVector
{
virtual ~ ConstVector () ;
} ;
template < class D > struct Vector : virtual ConstVector < D >
{
} ;
template < typename , typename > struct X ;
Vector < X < double , long > > DoubleVector ;
----------------------- cut ---------------------------
I'll no retest with a more recent version of 3.4.
regards Christian
More information about the Gcc-bugs
mailing list