r159559 - in /trunk/gcc: ChangeLog ipa-cp.c ipa...
jamborm@gcc.gnu.org
jamborm@gcc.gnu.org
Wed May 19 11:49:00 GMT 2010
Author: jamborm
Date: Wed May 19 11:49:36 2010
New Revision: 159559
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=159559
Log:
2010-05-19 Martin Jambor <mjambor@suse.cz>
* ipa-prop.c (ipa_print_node_jump_functions): Print jump functions
also for indirect edges. Actual printing moved...
(ipa_print_node_jump_functions_for_edge): ...here.
(ipa_compute_jump_functions): Renamed to
ipa_compute_jump_functions_for_edge and made static.
(ipa_compute_jump_functions): New function.
(make_edge_direct_to_target): Check if the number of arguments on
the newly direct edge is the same as the number of parametrs of
the callee.
* ipa-cp.c (ipcp_init_stage): Most functionality moved to new
ipa_compute_jump_functions. Call ipa_analyze_params_uses.
* ipa-inline.c (inline_indirect_intraprocedural_analysis): Call
analysis functions unconditionally, call the new
ipa_analyze_params_uses on the node instead of every edge.
* testsuite/g++.dg/ipa/ivinline-8.C: New test.
* testsuite/gcc.dg/ipa/iinline-2.c: New test.
Added:
trunk/gcc/testsuite/g++.dg/ipa/ivinline-8.C
trunk/gcc/testsuite/gcc.dg/ipa/iinline-2.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/ipa-cp.c
trunk/gcc/ipa-inline.c
trunk/gcc/ipa-prop.c
trunk/gcc/ipa-prop.h
trunk/gcc/testsuite/ChangeLog
More information about the Gcc-cvs
mailing list