Bug in gcc/cp/method.c
Jeffrey A Law
law@cygnus.com
Sat Apr 4 11:54:00 GMT 1998
In message < 199804041531.PAA00181@iron.rcp.co.uk >you write:
>
>
> All
>
> In the 980328 egcs snapshot (I haven't checked any earlier snapshots)
> the call to xrealloc @ line 381 gcc/cp/method.c has only one parameter
> which is obviously wrong.
>
> ktypelist = (tree *)xrealloc(sizeof(tree) * maxksize);
>
> It should be
>
> ktypelist = (tree *)xrealloc(ktypelist, sizeof(tree) * maxksize);
Thanks. I fixed both of the xrealloc calls you pointed out.
jeff
More information about the Gcc-bugs
mailing list