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 Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
atexit_arm.cc Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
atexit_thread.cc configure.ac: Check for __cxa_thread_atexit_impl. 2013-02-25 23:39:04 -05:00
atomic_lockfree_defines.h Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
bad_alloc.cc Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
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 Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
bad_typeid.cc Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
class_type_info.cc Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
cxxabi_forced.h Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
cxxabi.h Core 624/N2932: Throw bad_array_new_length on overflow 2013-05-08 23:58:00 -04:00
del_op.cc Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
del_opnt.cc Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
del_opv.cc Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
del_opvnt.cc Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
dyncast.cc Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
eh_alloc.cc Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
eh_arm.cc Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
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 Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
eh_catch.cc unwind-cxx.h: Include sys/sdt.h if detected. 2013-03-15 09:55:07 +01:00
eh_exception.cc Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
eh_globals.cc Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
eh_personality.cc Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
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 Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
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 Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
eh_type.cc Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
eh_unex_handler.cc Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
enum_type_info.cc Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
exception exception (get_terminate(), [...]): Declare. 2013-04-03 01:08:54 +01:00
exception_defines.h Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
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 Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
fundamental_type_info.cc Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
guard_error.cc Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
guard.cc Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
hash_bytes.cc Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
hash_bytes.h Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
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 Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
nested_exception.h Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
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 Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
new_opvnt.cc Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
pbase_type_info.cc Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
pmem_type_info.cc Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
pointer_type_info.cc Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
pure.cc Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
si_class_type_info.cc Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
tinfo2.cc Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
tinfo.cc Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
tinfo.h Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
typeinfo Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
unwind-cxx.h unwind-cxx.h: Include sys/sdt.h if detected. 2013-03-15 09:55:07 +01:00
vec.cc Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
vmi_class_type_info.cc Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
vterminate.cc Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00