* ira.c (ira): Don't call init_caller_save if LRA enabled
since LRA use its own infrastructure to handle that.
From-SVN: r211364
+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.
#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)