gcc/libstdc++-v3/libsupc++
Jason Merrill 7d5e76c8de Core 624/N2932: Throw bad_array_new_length on overflow
in array new size calculation.

libstdc++-v3/
	* libsupc++/new: Add std::bad_array_new_length.
	* libsupc++/bad_array_new.cc: New.
	* libsupc++/eh_aux_runtime.cc: Add __cxa_throw_bad_array_new_length.
	* libsupc++/Makefile.in: Build them.
	* config/abi/pre/gnu.ver: Add new symbols.
	* config/abi/pre/gnu-versioned-namespace.ver: Add new symbols.
gcc/cp/
	* init.c (throw_bad_array_new_length): New.
	(build_new_1): Use it.  Don't warn about braced-init-list.
	(build_vec_init): Use it.
	* call.c (build_operator_new_call): Use it.

From-SVN: r198731
2013-05-08 23:58:00 -04:00
..
array_type_info.cc
atexit_arm.cc
atexit_thread.cc
atomic_lockfree_defines.h
bad_alloc.cc
bad_array_new.cc Core 624/N2932: Throw bad_array_new_length on overflow 2013-05-08 23:58:00 -04:00
bad_cast.cc
bad_typeid.cc
class_type_info.cc
cxxabi_forced.h
cxxabi.h Core 624/N2932: Throw bad_array_new_length on overflow 2013-05-08 23:58:00 -04:00
del_op.cc
del_opnt.cc
del_opv.cc
del_opvnt.cc
dyncast.cc
eh_alloc.cc
eh_arm.cc
eh_aux_runtime.cc Core 624/N2932: Throw bad_array_new_length on overflow 2013-05-08 23:58:00 -04:00
eh_call.cc
eh_catch.cc unwind-cxx.h: Include sys/sdt.h if detected. 2013-03-15 09:55:07 +01:00
eh_exception.cc
eh_globals.cc
eh_personality.cc
eh_ptr.cc re PR libstdc++/56841 (ld: Unsatisfied symbol "__atomic_exchange_8" in file /test/gnu/gcc/objdir/prev-hppa64-hp-hpux11.11/libstdc++-v3/src/.libs/libstdc++.a[eh_terminate.o]) 2013-04-05 11:03:04 +01:00
eh_term_handler.cc
eh_terminate.cc re PR libstdc++/56841 (ld: Unsatisfied symbol "__atomic_exchange_8" in file /test/gnu/gcc/objdir/prev-hppa64-hp-hpux11.11/libstdc++-v3/src/.libs/libstdc++.a[eh_terminate.o]) 2013-04-05 11:03:04 +01:00
eh_throw.cc re PR libstdc++/56841 (ld: Unsatisfied symbol "__atomic_exchange_8" in file /test/gnu/gcc/objdir/prev-hppa64-hp-hpux11.11/libstdc++-v3/src/.libs/libstdc++.a[eh_terminate.o]) 2013-04-05 11:03:04 +01:00
eh_tm.cc
eh_type.cc
eh_unex_handler.cc
enum_type_info.cc
exception exception (get_terminate(), [...]): Declare. 2013-04-03 01:08:54 +01:00
exception_defines.h
exception_ptr.h re PR libstdc++/56905 ([C++11][DR 1130] std::copy_exception should be removed or no longer be used) 2013-04-24 23:00:16 +01:00
function_type_info.cc
fundamental_type_info.cc
guard_error.cc
guard.cc
hash_bytes.cc
hash_bytes.h
initializer_list * libsupc++/initializer_list: Fix typos. 2013-04-24 11:04:33 -04:00
Makefile.am exception (get_terminate(), [...]): Declare. 2013-04-03 01:08:54 +01:00
Makefile.in Core 624/N2932: Throw bad_array_new_length on overflow 2013-05-08 23:58:00 -04:00
nested_exception.cc
nested_exception.h
new Core 624/N2932: Throw bad_array_new_length on overflow 2013-05-08 23:58:00 -04:00
new_handler.cc re PR libstdc++/56841 (ld: Unsatisfied symbol "__atomic_exchange_8" in file /test/gnu/gcc/objdir/prev-hppa64-hp-hpux11.11/libstdc++-v3/src/.libs/libstdc++.a[eh_terminate.o]) 2013-04-05 11:03:04 +01:00
new_op.cc exception (get_terminate(), [...]): Declare. 2013-04-03 01:08:54 +01:00
new_opnt.cc exception (get_terminate(), [...]): Declare. 2013-04-03 01:08:54 +01:00
new_opv.cc
new_opvnt.cc
pbase_type_info.cc
pmem_type_info.cc
pointer_type_info.cc
pure.cc
si_class_type_info.cc
tinfo2.cc
tinfo.cc
tinfo.h
typeinfo
unwind-cxx.h unwind-cxx.h: Include sys/sdt.h if detected. 2013-03-15 09:55:07 +01:00
vec.cc
vmi_class_type_info.cc
vterminate.cc