diff options
author | Kito Cheng <kito@0xlab.org> | 2014-06-09 04:21:42 +0000 |
---|---|---|
committer | Chung-Ju Wu <jasonwucj@gcc.gnu.org> | 2014-06-09 04:21:42 +0000 |
commit | 001010df9d0be0ee43974bc2b5b44dcb878a7318 (patch) | |
tree | 62d9ce1b80a888d001a918a88fe422ddf42a3c31 /gcc | |
parent | 24d047a30a8007163d0eea43e8dd445e2b999160 (diff) | |
download | gcc-001010df9d0be0ee43974bc2b5b44dcb878a7318.zip gcc-001010df9d0be0ee43974bc2b5b44dcb878a7318.tar.gz gcc-001010df9d0be0ee43974bc2b5b44dcb878a7318.tar.bz2 |
ira.c (ira): Don't call init_caller_save if LRA enabled since LRA use its own infrastructure...
* ira.c (ira): Don't call init_caller_save if LRA enabled
since LRA use its own infrastructure to handle that.
From-SVN: r211364
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/ira.c | 3 |
2 files changed, 7 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 2e6c524..2df8ce2 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2014-06-09 Kito Cheng <kito@0xlab.org> + + * ira.c (ira): Don't call init_caller_save if LRA enabled + since LRA use its own infrastructure to handle that. + 2014-06-07 Jan Hubicka <hubicka@ucw.cz> * symtab.c (dump_symtab_base): Update dumping. @@ -5166,7 +5166,8 @@ ira (FILE *f) #endif bitmap_obstack_initialize (&ira_bitmap_obstack); - if (flag_caller_saves) + /* LRA uses its own infrastructure to handle caller save registers. */ + if (flag_caller_saves && !ira_use_lra_p) init_caller_save (); if (flag_ira_verbose < 10) |