toplev.c (backend_init_target): Avoid calling init_reload when using LRA.

2016-04-26  Zhouyi Zhou  <yizhouzhou@ict.ac.cn>

	* toplev.c (backend_init_target): Avoid calling init_reload when using
	LRA.

From-SVN: r235453
This commit is contained in:
Zhouyi Zhou 2016-04-26 20:52:16 +00:00 committed by Jeff Law
parent e64e93877b
commit a24c4267fb
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2016-04-26 Zhouyi Zhou <yizhouzhou@ict.ac.cn>
* toplev.c (backend_init_target): Avoid calling init_reload when using
LRA.
2016-04-26 Jakub Jelinek <jakub@redhat.com>
* reorg.c (try_merge_delay_insns): Declare i and j inside the

View File

@ -1618,7 +1618,8 @@ backend_init_target (void)
init_alias_target ();
/* Depends on HARD_FRAME_POINTER_REGNUM. */
init_reload ();
if (!ira_use_lra_p)
init_reload ();
/* Depends on the enabled attribute. */
recog_init ();