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: egcs-1.0.3a: C++ `realloc()' member function causes internal compiler error


"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


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