re PR middle-end/49373 (Many testcase failures)
authorJan Hubicka <jh@suse.cz>
Thu, 23 Jun 2011 16:45:08 +0000 (18:45 +0200)
committerJan Hubicka <hubicka@gcc.gnu.org>
Thu, 23 Jun 2011 16:45:08 +0000 (16:45 +0000)
commitfebb13025bec2b2a50c21e23e5b955cc31027c9d
treebc119ccc3a2b2d6675fc6bbabd3fb8cff5b454d4
parent4c77620d6dedebfb9f5092de3da0c9870587a734
re PR middle-end/49373 (Many testcase failures)

PR tree-optimize/49373
* tree-pass.h (all_late_ipa_passes): Declare.
* cgraphunit.c (init_lowered_empty_function): Fix properties.
(cgraph_optimize): Execute late passes; remove unreachable funcions after
materialization.
* ipa-inline.c (gate_ipa_inline): Enable only when optimizing or LTOing.
* passes.c (all_late_ipa_passes): Declare.
(dump_passes, register_pass): Handle late ipa passes.
(init_optimization_passes): Move ipa_pta to late passes; schedule fixup_cfg
at beggining of all_passes.
(apply_ipa_transforms): New function.
(execute_one_pass): When doing simple ipa pass, apply all transforms.

From-SVN: r175336
gcc/ChangeLog
gcc/cgraphunit.c
gcc/ipa-inline.c
gcc/passes.c
gcc/tree-pass.h