mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-04-08 10:50:47 +08:00
re PR rtl-optimization/61629 (FAIL: gcc.dg/20020312-2.c (internal compiler error))
gcc/ PR rtl-optimization/61629 * reginfo.c (reinit_regs): Only call ira_init and recog_init if they have already been initialized. From-SVN: r213003
This commit is contained in:
parent
1a8cb1557a
commit
2175bf4930
@ -1,3 +1,9 @@
|
||||
2014-07-24 Richard Sandiford <rdsandiford@googlemail.com>
|
||||
|
||||
PR rtl-optimization/61629
|
||||
* reginfo.c (reinit_regs): Only call ira_init and recog_init if
|
||||
they have already been initialized.
|
||||
|
||||
2014-07-24 Richard Sandiford <rdsandiford@googlemail.com>
|
||||
|
||||
PR middle-end/61268
|
||||
|
@ -533,8 +533,11 @@ reinit_regs (void)
|
||||
init_regs ();
|
||||
/* caller_save needs to be re-initialized. */
|
||||
caller_save_initialized_p = false;
|
||||
ira_init ();
|
||||
recog_init ();
|
||||
if (this_target_rtl->target_specific_initialized)
|
||||
{
|
||||
ira_init ();
|
||||
recog_init ();
|
||||
}
|
||||
}
|
||||
|
||||
/* Initialize some fake stack-frame MEM references for use in
|
||||
|
Loading…
x
Reference in New Issue
Block a user