emit-rtl.c (gen_reg_rtx): Check can_create_pseudo_p rather than no_new_pseudos.

* emit-rtl.c (gen_reg_rtx): Check can_create_pseudo_p rather than
	no_new_pseudos.

From-SVN: r126536
This commit is contained in:
Ian Lance Taylor 2007-07-11 04:45:48 +00:00 committed by Ian Lance Taylor
parent 677feb77ce
commit f8335a4ff0
2 changed files with 6 additions and 3 deletions

View File

@ -1,3 +1,8 @@
2007-07-10 Ian Lance Taylor <iant@google.com>
* emit-rtl.c (gen_reg_rtx): Check can_create_pseudo_p rather than
no_new_pseudos.
2007-07-10 David Daney <ddaney@avtrex.com>
* builtins.def (BUILT_IN_CLEAR_CACHE): New builtin.

View File

@ -780,9 +780,7 @@ gen_reg_rtx (enum machine_mode mode)
struct function *f = cfun;
rtx val;
/* Don't let anything called after initial flow analysis create new
registers. */
gcc_assert (!no_new_pseudos);
gcc_assert (can_create_pseudo_p ());
if (generating_concat_p
&& (GET_MODE_CLASS (mode) == MODE_COMPLEX_FLOAT