[exception patch]: Throw bad alloc

Jason Merrill jason@cygnus.com
Wed May 31 00:48:00 GMT 2000


>>>>> Nathan Sidwell <nathan@codesourcery.com> writes:

 > + extern void *
 > + __eh_alloc (size_t size)

No 'extern'.

 > +   size_t  diff = (size_t)((char *)p - &eh->alloc_buffer[0]);

This should be ptrdiff_t.

Otherwise, OK.

Jason


More information about the Gcc-patches mailing list