egcs-1.1a: new don't throw bad_alloc

Martin von Loewis martin@mira.isdn.cs.tu-berlin.de
Thu Sep 10 03:53:00 GMT 1998


> I installed the egcs-1.1a (with static libs) into a 'egcs' directory.
> I still have the gcc 2.7.2.3 and egcs-2.90.27 980315 (egcs-1.0.2 release).
> My configuration:
> Linux (RedHat 5.1), Pentium II
> binutils 2.9.1.0.4
> 
> The operator new don't throw bad_alloc if the allocation fails.

Can you please check what C++ library is used? When invoking g++, give
the -v and -Wl,--verbose option. Run ldd on the resulting executable.
Please report your findings.

Thanks,
Martin



More information about the Gcc mailing list