Commit e8bb7d68 by Jakub Jelinek Committed by Jakub Jelinek

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
parent 616a4e32
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> 2013-01-21 Marek Polacek <polacek@redhat.com>
* cfgloop.c (verify_loop_structure): Fix up grammar. * cfgloop.c (verify_loop_structure): Fix up grammar.
......
...@@ -468,8 +468,11 @@ init_reload (void) ...@@ -468,8 +468,11 @@ init_reload (void)
} }
/* Initialize obstack for our rtl allocation. */ /* Initialize obstack for our rtl allocation. */
gcc_obstack_init (&reload_obstack); if (reload_startobj == NULL)
reload_startobj = XOBNEWVAR (&reload_obstack, char, 0); {
gcc_obstack_init (&reload_obstack);
reload_startobj = XOBNEWVAR (&reload_obstack, char, 0);
}
INIT_REG_SET (&spilled_pseudos); INIT_REG_SET (&spilled_pseudos);
INIT_REG_SET (&changed_allocation_pseudos); INIT_REG_SET (&changed_allocation_pseudos);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment