diff options
author | Ian Lance Taylor <iant@google.com> | 2007-07-11 04:45:48 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@gcc.gnu.org> | 2007-07-11 04:45:48 +0000 |
commit | f8335a4ff0dd1c3caa1e8822f9d86e594b96e934 (patch) | |
tree | 7e059b52ff3cffa9f4dfb2a85ec320d0e0031ae1 /gcc/emit-rtl.c | |
parent | 677feb77ce2344d316c2026a4a1dd95677b5d39e (diff) | |
download | gcc-f8335a4ff0dd1c3caa1e8822f9d86e594b96e934.zip gcc-f8335a4ff0dd1c3caa1e8822f9d86e594b96e934.tar.gz gcc-f8335a4ff0dd1c3caa1e8822f9d86e594b96e934.tar.bz2 |
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
Diffstat (limited to 'gcc/emit-rtl.c')
-rw-r--r-- | gcc/emit-rtl.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/gcc/emit-rtl.c b/gcc/emit-rtl.c index 8f99b98..d995348 100644 --- a/gcc/emit-rtl.c +++ b/gcc/emit-rtl.c @@ -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 |