mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-04-16 00:50:48 +08:00
reload1.c (init_reload): Only initialize reload_obstack during the first call.
* reload1.c (init_reload): Only initialize reload_obstack during the first call. From-SVN: r195335
This commit is contained in:
parent
616a4e32ec
commit
e8bb7d68e0
@ -1,3 +1,8 @@
|
||||
2013-01-21 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
* reload1.c (init_reload): Only initialize reload_obstack
|
||||
during the first call.
|
||||
|
||||
2013-01-21 Marek Polacek <polacek@redhat.com>
|
||||
|
||||
* cfgloop.c (verify_loop_structure): Fix up grammar.
|
||||
|
@ -468,8 +468,11 @@ init_reload (void)
|
||||
}
|
||||
|
||||
/* Initialize obstack for our rtl allocation. */
|
||||
gcc_obstack_init (&reload_obstack);
|
||||
reload_startobj = XOBNEWVAR (&reload_obstack, char, 0);
|
||||
if (reload_startobj == NULL)
|
||||
{
|
||||
gcc_obstack_init (&reload_obstack);
|
||||
reload_startobj = XOBNEWVAR (&reload_obstack, char, 0);
|
||||
}
|
||||
|
||||
INIT_REG_SET (&spilled_pseudos);
|
||||
INIT_REG_SET (&changed_allocation_pseudos);
|
||||
|
Loading…
x
Reference in New Issue
Block a user