r235318 - in /trunk/gcc: ChangeLog cgraph.c cgr...

hubicka@gcc.gnu.org hubicka@gcc.gnu.org
Thu Apr 21 09:05:00 GMT 2016


Author: hubicka
Date: Thu Apr 21 09:05:07 2016
New Revision: 235318

URL: https://gcc.gnu.org/viewcvs?rev=235318&root=gcc&view=rev
Log:

	PR ipa/70018
	* cgraph.c (cgraph_set_nothrow_flag_1): Rename to ...
	(set_nothrow_flag_1): ... this; handle interposition correctly;
	recurse on aliases and thunks.
	(cgraph_node::set_nothrow_flag): New.
	* ipa-pure-const.c (ignore_edge_for_nothrow): Ignore calls to
	functions compiled with non-call exceptions that binds to current
	def.
	(propagate_nothrow): Be safe WRT interposition.
	* cgraph.h (set_nothrow_flag): Update prototype.

	* g++.dg/ipa/nothrow-1.C: New testcase.

Added:
    trunk/gcc/testsuite/g++.dg/ipa/nothrow-1.C
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/cgraph.c
    trunk/gcc/cgraph.h
    trunk/gcc/ipa-pure-const.c
    trunk/gcc/testsuite/ChangeLog



More information about the Gcc-cvs mailing list