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/ira.c | |
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/ira.c')
-rw-r--r-- | gcc/ira.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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) |