Hi, __cxa_throw_bad_array_new_length and __cxa_throw_bad_array_new_length are generated with -fno-exceptions right now. The attached patch fixes that problem. Bootstrapped and regtested on x86_64-unknown-linux-gnu:
2013-10-07 Alexander Ivchenko <alexander.ivche...@intel.com> * gcc/cp/call.c (build_operator_new_call): Add flag_exceptions check. * gcc/cp/decl.c (cp_finish_decl): Ditto. * gcc/cp/init.c (build_new_1): Ditto. (build_vec_init): Ditto. Is it ok? --Alexander
fix_58525.patch
Description: Binary data