This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: bug report
- To: holger at lfbs dot rwth-aachen dot de
- Subject: Re: bug report
- From: Gerald Pfeifer <pfeifer at dbai dot tuwien dot ac dot at>
- Date: Wed, 19 May 1999 16:59:29 +0200 (MET DST)
- cc: egcs-bugs at egcs dot cygnus dot com
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/