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]

Re: bug report


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/


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