gcc/libitm
Jakub Jelinek 784417d1f8 re PR c++/88482 (ICE when wrongly declaring __cxa_allocate_exception)
PR c++/88482
	* except.c (verify_library_fn): New function.
	(declare_library_fn): Use it.  Initialize TM even if the non-TM
	library function has been user declared.
	(do_end_catch): Don't set TREE_NOTHROW on error_mark_node.
	(expand_start_catch_block): Don't call initialize_handler_parm
	for error_mark_node.
	(build_throw): Use verify_library_fn.  Initialize TM even if the
	non-TM library function has been user declared.  Don't crash if
	any library fn is error_mark_node.

	* g++.dg/eh/builtin5.C: New test.
	* g++.dg/eh/builtin6.C: New test.
	* g++.dg/eh/builtin7.C: New test.
	* g++.dg/eh/builtin8.C: New test.
	* g++.dg/eh/builtin9.C: New test.
	* g++.dg/eh/builtin10.C: New test.
	* g++.dg/eh/builtin11.C: New test.
	* g++.dg/parse/crash55.C: Adjust expected diagnostics.

	* eh_cpp.cc (__cxa_throw): Change DEST argument type from
	void * to void (*) (void *).
	(_ITM_cxa_throw): Likewise.
	* libitm.h (_ITM_cxa_throw): Likewise.
	* libitm.texi (_ITM_cxa_throw): Likewise.

From-SVN: r267179
2018-12-16 00:51:31 +01:00
..
config target.h (htm_available): Add support for PPC_FEATURE2_HTM_NO_SUSPEND. 2018-12-13 12:04:11 -06:00
testsuite Update GCC to autoconf 2.69, automake 1.15.1 (PR bootstrap/82856). 2018-10-31 17:03:16 +00:00
ChangeLog re PR c++/88482 (ICE when wrongly declaring __cxa_allocate_exception) 2018-12-16 00:51:31 +01:00
Makefile.am Update GCC to autoconf 2.69, automake 1.15.1 (PR bootstrap/82856). 2018-10-31 17:03:16 +00:00
Makefile.in Update GCC to autoconf 2.69, automake 1.15.1 (PR bootstrap/82856). 2018-10-31 17:03:16 +00:00
aatree.cc Update copyright years. 2018-01-03 11:03:58 +01:00
aatree.h Update copyright years. 2018-01-03 11:03:58 +01:00
acinclude.m4
aclocal.m4 Update GCC to autoconf 2.69, automake 1.15.1 (PR bootstrap/82856). 2018-10-31 17:03:16 +00:00
alloc.cc Update copyright years. 2018-01-03 11:03:58 +01:00
alloc_c.cc Update copyright years. 2018-01-03 11:03:58 +01:00
alloc_cpp.cc Update copyright years. 2018-01-03 11:03:58 +01:00
barrier.cc Update copyright years. 2018-01-03 11:03:58 +01:00
beginend.cc PR c++/58407 - deprecated implicit copy ops. 2018-05-18 16:02:48 -04:00
clone.cc Update copyright years. 2018-01-03 11:03:58 +01:00
common.h Update copyright years. 2018-01-03 11:03:58 +01:00
config.h.in
configure Update GCC to autoconf 2.69, automake 1.15.1 (PR bootstrap/82856). 2018-10-31 17:03:16 +00:00
configure.ac Update GCC to autoconf 2.69, automake 1.15.1 (PR bootstrap/82856). 2018-10-31 17:03:16 +00:00
configure.tgt Update copyright years. 2018-01-03 11:03:58 +01:00
containers.h Update copyright years. 2018-01-03 11:03:58 +01:00
dispatch.h Update copyright years. 2018-01-03 11:03:58 +01:00
eh_cpp.cc re PR c++/88482 (ICE when wrongly declaring __cxa_allocate_exception) 2018-12-16 00:51:31 +01:00
libitm.h re PR c++/88482 (ICE when wrongly declaring __cxa_allocate_exception) 2018-12-16 00:51:31 +01:00
libitm.map
libitm.spec.in
libitm.texi re PR c++/88482 (ICE when wrongly declaring __cxa_allocate_exception) 2018-12-16 00:51:31 +01:00
libitm_i.h Update copyright years. 2018-01-03 11:03:58 +01:00
local.cc Update copyright years. 2018-01-03 11:03:58 +01:00
local_atomic Update copyright years. 2018-01-03 11:03:58 +01:00
method-gl.cc Update copyright years. 2018-01-03 11:03:58 +01:00
method-ml.cc Update copyright years. 2018-01-03 11:03:58 +01:00
method-serial.cc method-serial.cc: Mark varible as potentially unused to silence warning. 2018-10-30 09:13:26 -06:00
query.cc Update copyright years. 2018-01-03 11:03:58 +01:00
retry.cc Update copyright years. 2018-01-03 11:03:58 +01:00
useraction.cc Update copyright years. 2018-01-03 11:03:58 +01:00
util.cc Update copyright years. 2018-01-03 11:03:58 +01:00