summaryrefslogtreecommitdiff
path: root/zlib/win32
diff options
context:
space:
mode:
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>2013-05-09 03:58:00 +0000
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>2013-05-09 03:58:00 +0000
commitbcb3170cd7700c03e5017c0a2b4e845b5cb1d763 (patch)
tree09467b7a6778576ce54cf16a985769ff3c2dacb8 /zlib/win32
parent7821c8c80c254f0dfd2a39f089d5bb1aa1bbed06 (diff)
downloadgcc-bcb3170cd7700c03e5017c0a2b4e845b5cb1d763.tar.gz
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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@198731 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'zlib/win32')
0 files changed, 0 insertions, 0 deletions