This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]