public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* realloc
@ 1998-08-17 5:04 Ruediger Franke
1998-08-18 17:09 ` realloc Alexandre Oliva
0 siblings, 1 reply; 2+ messages in thread
From: Ruediger Franke @ 1998-08-17 5:04 UTC (permalink / raw)
To: egcs-bugs
Hi,
when compiling the attached C++ file using
gcc version egcs-2.90.29 980515 (egcs-1.0.3 release)
compile command:
gcc -c -O realloc.C
I get the following internal compiler error:
realloc.C:8: warning: all member functions in class `A' are private
realloc.C: In method `void A::mymethod()':
realloc.C:6: Internal compiler error.
realloc.C:6: Please submit a full bug report to `egcs-bugs@cygnus.com'.
What is wrong? It seems to have to do something with the method name
'realloc' when enabling optimization.
Best regards,
Ruediger
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: realloc
1998-08-17 5:04 realloc Ruediger Franke
@ 1998-08-18 17:09 ` Alexandre Oliva
0 siblings, 0 replies; 2+ messages in thread
From: Alexandre Oliva @ 1998-08-18 17:09 UTC (permalink / raw)
To: Ruediger Franke; +Cc: egcs-bugs
Ruediger Franke <Ruediger.Franke@rz.tu-ilmenau.de> writes:
> gcc version egcs-2.90.29 980515 (egcs-1.0.3 release)
> realloc.C:6: Internal compiler error.
> class A { void realloc(); void mymethod() { realloc(); } };
Thanks for your report. This problem is fixed in the latest snapshot
of egcs
--
Alexandre Oliva
mailto:oliva@dcc.unicamp.br mailto:aoliva@acm.org
http://www.dcc.unicamp.br/~oliva
Universidade Estadual de Campinas, SP, Brasil
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~1998-08-18 17:09 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1998-08-17 5:04 realloc Ruediger Franke
1998-08-18 17:09 ` realloc Alexandre Oliva
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).