summaryrefslogtreecommitdiff
path: root/gcc/ifcvt.c
diff options
context:
space:
mode:
authorkenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4>2003-04-14 21:44:36 +0000
committerkenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4>2003-04-14 21:44:36 +0000
commit65a517ff34b4c66828b4890edae535cd3072ef78 (patch)
treea004c265eddecba0a5e3834dfb14c0f5d02a0081 /gcc/ifcvt.c
parentbf4c4192f872b3a19d658b8dab120780013b4715 (diff)
downloadgcc-65a517ff34b4c66828b4890edae535cd3072ef78.tar.gz
* ifcvt.c (noce_process_if_block): Fail on BLKmode move.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@65596 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ifcvt.c')
-rw-r--r--gcc/ifcvt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/ifcvt.c b/gcc/ifcvt.c
index 9236b6a08bb..ec7286bcaec 100644
--- a/gcc/ifcvt.c
+++ b/gcc/ifcvt.c
@@ -1829,7 +1829,7 @@ noce_process_if_block (ce_info)
|| (SMALL_REGISTER_CLASSES
&& REGNO (x) < FIRST_PSEUDO_REGISTER))
{
- if (no_new_pseudos)
+ if (no_new_pseudos || GET_MODE (x) == BLKmode)
return FALSE;
x = gen_reg_rtx (GET_MODE (GET_CODE (x) == STRICT_LOW_PART
? XEXP (x, 0) : x));