summaryrefslogtreecommitdiff
path: root/gcc/passes.c
diff options
context:
space:
mode:
authorbernds <bernds@138bc75d-0d04-0410-961f-82ee72b054a4>2011-12-22 15:01:25 +0000
committerbernds <bernds@138bc75d-0d04-0410-961f-82ee72b054a4>2011-12-22 15:01:25 +0000
commitabc905e8117b3a1c436244615c58c45c57df2541 (patch)
tree5d65634c3462630f8b0668feee881303171c4bb7 /gcc/passes.c
parent4d722a4919b4d7a5aa6036d0e0f4462556be8e68 (diff)
downloadgcc-abc905e8117b3a1c436244615c58c45c57df2541.tar.gz
* tree-pass.h (pass_reload): Declare.
* ira.c (overall_cost_before, saved_flag_ira_share_spill_slots): New global variables, moved out of ira. (do_reload): New static function, split off from the second half of ... (ira): ... here. (gate_ira): Remove. (pass_ira): Use TV_IRA, set gate to NULL, and set flags to TODO_dump_func. (rest_of_handle_reload): New static function. (pass_reload): New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@182624 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/passes.c')
-rw-r--r--gcc/passes.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/passes.c b/gcc/passes.c
index 1125cfe76fc..e21971cf7c2 100644
--- a/gcc/passes.c
+++ b/gcc/passes.c
@@ -1484,6 +1484,7 @@ init_optimization_passes (void)
NEXT_PASS (pass_sms);
NEXT_PASS (pass_sched);
NEXT_PASS (pass_ira);
+ NEXT_PASS (pass_reload);
NEXT_PASS (pass_postreload);
{
struct opt_pass **p = &pass_postreload.pass.sub;