bug report

Gerald Pfeifer pfeifer@dbai.tuwien.ac.at
Mon May 31 21:06:00 GMT 1999


On Wed, 19 May 1999 holger@lfbs.rwth-aachen.de wrote:
> i think my program is right c++ code, so it should be a bug in egcs
> thank you for your time and sorry for my english :)

An internal compiler error is *always* a bug in egcs.

A current snapshot version of egcs reports the following with -Wall

 markab[69]:~% egcs x.cc -c -Wall
 x.cc: In method `class B & B::operator =(const B &)':
 x.cc:10:   instantiated from `C<int>::C()'
 x.cc:13:   instantiated from here
 x.cc:10: warning: statement with no effect

so it seems the bug has been fixed (and the fix will be in the forthcoming
release which will be called gcc 2.95).

Gerald
-- 
Gerald "Jerry" pfeifer@dbai.tuwien.ac.at http://www.dbai.tuwien.ac.at/~pfeifer/



More information about the Gcc-bugs mailing list