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

hubicka@gcc.gnu.org hubicka@gcc.gnu.org
Wed May 4 16:36:00 GMT 2016


Author: hubicka
Date: Wed May  4 16:36:51 2016
New Revision: 235887

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

	* cgraph.c (cgraph_node::call_for_symbol_thunks_and_aliases):
	Check availability on NODE, too.
	* cgraph.h (symtab_node::call_for_symbol_and_aliases): Likewise.
	(cgraph_node::call_for_symbol_and_aliases): Likewise.
	(varpool_node::call_for_symbol_and_aliase): Likewise.
	* ipa-pure-const.c (add_new_function): Analyze all bodies.
	(propagate_pure_const): Propagate across interposable functions, too.
	(skip_function_for_local_pure_const): Do not skip interposable bodies
	with aliases.
	(pass_local_pure_const::execute): Update.

	* gcc.dg/ipa/pure-const-3.c: New testcase.

Added:
    trunk/gcc/testsuite/gcc.dg/ipa/pure-const-3.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