diff options
author | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-09-30 01:22:07 +0000 |
---|---|---|
committer | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-09-30 01:22:07 +0000 |
commit | fbc51f36e328057ba98e695ccdab52856ca68796 (patch) | |
tree | bfe96a23c68a90b5da0a5b5bfb8294fbe08ac645 /gcc/tree-outof-ssa.c | |
parent | a8b2a8d55ccf7783b607c4629292af7fc41f6a28 (diff) | |
download | gcc-fbc51f36e328057ba98e695ccdab52856ca68796.tar.gz |
PR 17739
* tree-gimple.c (is_gimple_reg): Reject hard registers.
(is_gimple_asm_val): New.
* tree-gimple.h (is_gimple_asm_val): Declare.
* gimplify.c (gimplify_asm_expr): Use it.
* tree-pretty-print.c (print_declaration): Dump hard regs.
* tree-outof-ssa.c (check_replaceable): Don't check for hard regs.
* tree-ssa-copyrename.c (copy_rename_partition_coalesce): Likewise.
* tree-ssa-pre.c (is_undefined_value): Likewise.
* tree-ssa-copy.c (may_propagate_copy): Likewise.
(may_propagate_copy_into_asm): Protect DECL_HARD_REGISTER.
* tree-ssa.c (warn_uninit): Likewise.
* tree.h (DECL_HARD_REGISTER): Check for VAR_DECL.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88321 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree-outof-ssa.c')
-rw-r--r-- | gcc/tree-outof-ssa.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/gcc/tree-outof-ssa.c b/gcc/tree-outof-ssa.c index 4d9986d1953..827f91d1511 100644 --- a/gcc/tree-outof-ssa.c +++ b/gcc/tree-outof-ssa.c @@ -1476,11 +1476,6 @@ check_replaceable (temp_expr_table_p tab, tree stmt) if (version_ref_count (map, def) != 1) return false; - /* Assignments to variables assigned to hard registers are not - replaceable. */ - if (DECL_HARD_REGISTER (SSA_NAME_VAR (def))) - return false; - /* There must be no V_MAY_DEFS. */ if (NUM_V_MAY_DEFS (V_MAY_DEF_OPS (ann)) != 0) return false; |