This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: egcs-1.0.3a: C++ `realloc()' member function causes internal compiler error
- To: langston at SLAC dot Stanford dot EDU
- Subject: Re: egcs-1.0.3a: C++ `realloc()' member function causes internal compiler error
- From: Michael Poole <poole+ at andrew dot cmu dot edu>
- Date: 20 Jul 1998 21:05:33 -0400
- Cc: egcs-bugs at cygnus dot com
- References: <35B39480.1A97FDDF@SLAC.Stanford.EDU>
"Matthew D. Langston" <langston@SLAC.Stanford.EDU> writes:
> Hello all,
>
> I received an egcs C++ internal compiler error this morning while
> compiling a third party C++ class library. I was able to create a tiny
> little 12 line test class which reproduces this error, which I've
> included below. The problem only occurs when I compile with
> optimization *and* when I have a member function named `realloc()' (but
> see below for all of the details).
This has been reported before, and I posted a patch against 1.0.3a for it:
http://www.cygnus.com/ml/egcs-bugs/1998-Jun/0272.html
(though a search for 'alloc' in the subject line wouldn't turn it up,
unfortunately). Jeffrey Law informed me that this has been fixed via
another mechanism in the development tree (and thus in egcs-1.1).
-- Michael