gcc/libstdc++-v3/libsupc++
Martin Sebor 1be51a3a9a PR c++/97201 - ICE in -Warray-bounds writing to result of operator new(0)
gcc/cp/ChangeLog:

	PR c++/97201
	* error.c (dump_type_suffix): Handle both the C and C++ forms of
	zero-length arrays.

libstdc++-v3/ChangeLog:

	PR c++/97201
	* libsupc++/new (operator new): Add attribute alloc_size and malloc.

gcc/testsuite/ChangeLog:

	PR c++/97201
	* g++.dg/warn/Wplacement-new-size-8.C: Adjust expected message.
	* g++.dg/warn/Warray-bounds-10.C: New test.
	* g++.dg/warn/Warray-bounds-11.C: New test.
	* g++.dg/warn/Warray-bounds-12.C: New test.
	* g++.dg/warn/Warray-bounds-13.C: New test.
2020-10-12 09:36:26 -06:00
..
array_type_info.cc
atexit_arm.cc
atexit_thread.cc
atomic_lockfree_defines.h
bad_alloc.cc
bad_array_length.cc
bad_array_new.cc
bad_cast.cc
bad_typeid.cc
class_type_info.cc
compare libstdc++: Update __cpp_lib_three_way_comparison macro 2020-04-20 17:50:10 +01:00
cxxabi_forced.h
cxxabi_init_exception.h
cxxabi.h libstdc++: Fix the return type of __cxa_finalize 2020-05-04 23:07:19 +01:00
del_op.cc
del_opa.cc
del_opant.cc
del_opnt.cc
del_ops.cc
del_opsa.cc
del_opv.cc
del_opva.cc
del_opvant.cc
del_opvnt.cc
del_opvs.cc
del_opvsa.cc
dyncast.cc libstdc++: Avoid negating a size_t [pr 94747] 2020-05-04 10:08:13 -07:00
eh_alloc.cc
eh_arm.cc
eh_atomics.h
eh_aux_runtime.cc
eh_call.cc libstdc++-v3/libsupc++/eh_call.cc: Avoid "set but not used" warning 2020-09-11 13:00:29 +00:00
eh_catch.cc
eh_exception.cc
eh_globals.cc
eh_personality.cc
eh_ptr.cc libstdc++: Inline std::exception_ptr members [PR 90295] 2020-10-06 17:24:16 +01:00
eh_term_handler.cc
eh_term_handler.h
eh_terminate.cc
eh_throw.cc
eh_tm.cc
eh_type.cc
eh_unex_handler.cc
enum_type_info.cc
exception
exception_defines.h
exception_ptr.h libstdc++: Fix non-reserved names in headers 2020-10-08 00:05:53 +01:00
exception.h
function_type_info.cc
fundamental_type_info.cc
guard_error.cc
guard.cc libstdc++: Use __libc_single_threaded to optimise atomics [PR 96817] 2020-09-26 20:32:36 +01:00
hash_bytes.cc
hash_bytes.h
initializer_list
Makefile.am libstdc++: Remove redundant -std=gnu++1z flags from makefile 2020-09-25 12:50:17 +01:00
Makefile.in libstdc++: Remove redundant -std=gnu++1z flags from makefile 2020-09-25 12:50:17 +01:00
nested_exception.cc
nested_exception.h
new PR c++/97201 - ICE in -Warray-bounds writing to result of operator new(0) 2020-10-12 09:36:26 -06:00
new_handler.cc
new_op.cc
new_opa.cc libstdc++ P1956R1 On the names of low-level bit manipulation functions 2020-02-17 17:09:18 +00:00
new_opant.cc
new_opnt.cc
new_opv.cc
new_opva.cc
new_opvant.cc
new_opvnt.cc libstdc++: Break header cycle between <new> and <exception> 2020-09-02 13:56:32 +01:00
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 libstdc++: Remove std::type_info::operator!= for C++20 2020-02-20 11:30:19 +00:00
unwind-cxx.h
vec.cc
vmi_class_type_info.cc
vterminate.cc
vtv_stubs.cc