aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-outof-ssa.c
diff options
context:
space:
mode:
authorThomas Schwinge <thomas@codesourcery.com>2021-09-23 21:20:34 +0200
committerThomas Schwinge <thomas@codesourcery.com>2021-09-24 18:20:21 +0200
commit28f527c9598339cf834a30b5ee1f14258b8ecbb2 (patch)
tree9d43a69d857eb3ea5f4bced292059b56986c984b /gcc/tree-outof-ssa.c
parent1eb4d0d3bad1a7faa7f1734837562aea71575740 (diff)
parent2961ac45b9e19523958757e607d11c5893d6368b (diff)
downloadgcc-28f527c9598339cf834a30b5ee1f14258b8ecbb2.zip
gcc-28f527c9598339cf834a30b5ee1f14258b8ecbb2.tar.gz
gcc-28f527c9598339cf834a30b5ee1f14258b8ecbb2.tar.bz2
Merge commit '2961ac45b9e19523958757e607d11c5893d6368b' [#247]
Diffstat (limited to 'gcc/tree-outof-ssa.c')
-rw-r--r--gcc/tree-outof-ssa.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/tree-outof-ssa.c b/gcc/tree-outof-ssa.c
index b730196..1a133a0 100644
--- a/gcc/tree-outof-ssa.c
+++ b/gcc/tree-outof-ssa.c
@@ -87,7 +87,7 @@ ssa_is_replaceable_p (gimple *stmt)
/* Float expressions must go through memory if float-store is on. */
if (flag_float_store
- && FLOAT_TYPE_P (gimple_expr_type (stmt)))
+ && FLOAT_TYPE_P (TREE_TYPE (def)))
return false;
/* An assignment with a register variable on the RHS is not