diff options
author | Richard Sandiford <rsandifo@nildram.co.uk> | 2008-05-10 11:32:16 +0000 |
---|---|---|
committer | Richard Sandiford <rsandifo@nildram.co.uk> | 2008-05-10 11:32:16 +0000 |
commit | 0a742b1a61d791899628b1d92867676f97417d23 (patch) | |
tree | 2a793747a644454d64994ee30fd6baecdbe96704 /gcc | |
parent | ddd70fc47b63e41c59ca3772af94f4618b5d3987 (diff) |
gcc/
* toplev.c (backend_init_target): Move init_ira call from here...
(lang_dependent_init_target): ...to here.
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/ira@135139 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/toplev.c | 8 |
2 files changed, 8 insertions, 5 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 4756439ed9d..aed2f1931af 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,10 @@ 2008-05-10 Richard Sandiford <rsandifo@nildram.co.uk> + * toplev.c (backend_init_target): Move init_ira call from here... + (lang_dependent_init_target): ...to here. + +2008-05-10 Richard Sandiford <rsandifo@nildram.co.uk> + * ira.c (setup_class_subset_and_memory_move_costs): Don't calculate memory move costs for NO_REGS. diff --git a/gcc/toplev.c b/gcc/toplev.c index 3147949c8d8..717e8c4aad8 100644 --- a/gcc/toplev.c +++ b/gcc/toplev.c @@ -1969,9 +1969,6 @@ backend_init_target (void) /* This depends on stack_pointer_rtx. */ init_fake_stack_mems (); - /* This invokes IRA to set up reg related data structures. */ - init_ira (); - /* Sets static_base_value[HARD_FRAME_POINTER_REGNUM], which is mode-dependent. */ init_alias_target (); @@ -2034,9 +2031,10 @@ lang_dependent_init_target (void) /* Do the target-specific parts of expr initialization. */ init_expr_target (); - /* Although the actions of init_set_costs are language-independent, - it uses optabs, so we cannot call it from backend_init. */ + /* Although the actions of these functions are language-independent, + they use optabs, so we cannot call them from backend_init. */ init_set_costs (); + init_ira (); expand_dummy_function_end (); } |