aboutsummaryrefslogtreecommitdiff
path: root/gcc/gcse.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/gcse.c')
-rw-r--r--gcc/gcse.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/gcse.c b/gcc/gcse.c
index d41a117..ae9d720 100644
--- a/gcc/gcse.c
+++ b/gcc/gcse.c
@@ -6657,6 +6657,9 @@ simple_mem (x)
if (GET_MODE (x) == BLKmode)
return 0;
+ if (flag_float_store && FLOAT_MODE_P (GET_MODE (x)))
+ return 0;
+
if (!rtx_varies_p (XEXP (x, 0), 0))
return 1;