re PR c++/58525 (__cxa_throw_bad_array_new_length is generated with -fno-exceptions)
authorAlexander Ivchenko <alexander.ivchenko@intel.com>
Sat, 23 Nov 2013 16:28:42 +0000 (16:28 +0000)
committerJason Merrill <jason@gcc.gnu.org>
Sat, 23 Nov 2013 16:28:42 +0000 (11:28 -0500)
commitf391b44b199e27712c15ea880f54f41cd11f34e3
treedd027478c82250512192ee3a1ebe30071d6d293b
parent4417887978f491e497451598d0b596af3fe62b8c
re PR c++/58525 (__cxa_throw_bad_array_new_length is generated with -fno-exceptions)

PR c++/58525
* call.c (build_operator_new_call): Add flag_exceptions check.
* decl.c (compute_array_index_type): Ditto.
* init.c (build_new_1): Ditto.
(build_vec_init): Ditto.

From-SVN: r205310
gcc/cp/ChangeLog
gcc/cp/call.c
gcc/cp/decl.c
gcc/cp/init.c