This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: realloc & optimizer bug
- To: Mauro Villa <villa at bo dot infn dot it>
- Subject: Re: realloc & optimizer bug
- From: Gerald Pfeifer <pfeifer at dbai dot tuwien dot ac dot at>
- Date: Tue, 19 Jan 1999 16:06:40 +0100 (MET)
- cc: egcs-bugs at cygnus dot com
On Tue, 19 Jan 1999, Mauro Villa wrote:
> class A {
> public:
> A();
> void operator = (const A & l);
> void realloc();
> };
>
> A::A() {}
> void A::realloc() {}
> void A::operator = (const A & l) {
> A::realloc(); // line 14
> }
> [...]
> When I compile the code with the command
> egcs -c -O test.cc
> I get
> test.cc: In method `void A::operator =(const class A &)':
> test.cc:14: Internal compiler error.
This seems to have been fixed for egcs 1.1.
Thanks for the report,
Gerald
--
Gerald Pfeifer (Jerry) Vienna University of Technology
pfeifer@dbai.tuwien.ac.at http://www.dbai.tuwien.ac.at/~pfeifer/