aboutsummaryrefslogtreecommitdiff
path: root/gcc/cse.c
diff options
context:
space:
mode:
authorJim Wilson <wilson@cygnus.com>1997-09-01 23:43:03 +0000
committerJim Wilson <wilson@gcc.gnu.org>1997-09-01 16:43:03 -0700
commitbc4ddc77a0384a256abbc001a2cb612426d55ca5 (patch)
tree40629c2ab1050508acae13b148ea2288061ae7da /gcc/cse.c
parent7e3af3746e4d4a93f833ee8311ef2ffba1996c5e (diff)
downloadgcc-bc4ddc77a0384a256abbc001a2cb612426d55ca5.zip
gcc-bc4ddc77a0384a256abbc001a2cb612426d55ca5.tar.gz
gcc-bc4ddc77a0384a256abbc001a2cb612426d55ca5.tar.bz2
Fix irix6 execute/921117-1.c c-torture failure.
* cse.c (cse_insn): Don't record BLKmode values. From-SVN: r15024
Diffstat (limited to 'gcc/cse.c')
-rw-r--r--gcc/cse.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/cse.c b/gcc/cse.c
index 096a630a..71bc358 100644
--- a/gcc/cse.c
+++ b/gcc/cse.c
@@ -7297,6 +7297,10 @@ cse_insn (insn, in_libcall_block)
if ((flag_float_store
&& GET_CODE (dest) == MEM
&& FLOAT_MODE_P (GET_MODE (dest)))
+ /* Don't record BLKmode values, because we don't know the
+ size of it, and can't be sure that other BLKmode values
+ have the same or smaller size. */
+ || GET_MODE (dest) == BLKmode
/* Don't record values of destinations set inside a libcall block
since we might delete the libcall. Things should have been set
up so we won't want to reuse such a value, but we play it safe