This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: optimization/4889
- From: Reichelt <reichelt at igpm dot rwth-aachen dot de>
- To: gcc-gnats at gcc dot gnu dot org, gcc-bugs at gcc dot gnu dot org, nobody at gcc dot gnu dot org, pgregory at aqsis dot com
- Date: Mon, 19 Nov 2001 21:25:35 +0100
- Subject: Re: optimization/4889
[Get raw message]
Hi,
I tried to reduce the size of the provided testcase a little bit
and distilled the following 3 lines of code that still crash 3.0.2
(just compile with g++ -O):
double& f();
struct A { A (int i) { i?f():f(); } };
A a(1);
In fact they also crash 3.1 (as of 20011112)! So, being able to compile
the original testcase with 3.1 without errors just seems to be good/bad
luck.
Greetings,
Volker Reichelt
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&pr=4889&database=gcc