aboutsummaryrefslogtreecommitdiff
path: root/gcc/dojump.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/dojump.c')
-rw-r--r--gcc/dojump.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/dojump.c b/gcc/dojump.c
index e4bb6dd..5ef98a1 100644
--- a/gcc/dojump.c
+++ b/gcc/dojump.c
@@ -622,7 +622,7 @@ do_jump (tree exp, rtx if_false_label, rtx if_true_label)
sequences. */
/* Copy to register to avoid generating bad insns by cse
from (set (mem ...) (arithop)) (set (cc0) (mem ...)). */
- if (!cse_not_expected && GET_CODE (temp) == MEM)
+ if (!cse_not_expected && MEM_P (temp))
temp = copy_to_reg (temp);
#endif
do_pending_stack_adjust ();