summaryrefslogtreecommitdiff
path: root/gcc/config/i386/i386.md
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/config/i386/i386.md')
-rw-r--r--gcc/config/i386/i386.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/config/i386/i386.md b/gcc/config/i386/i386.md
index 02a4f6ec8b8..b388cd16bfb 100644
--- a/gcc/config/i386/i386.md
+++ b/gcc/config/i386/i386.md
@@ -21954,9 +21954,6 @@
""
{
rtx flags = gen_rtx_REG (CCZmode, FLAGS_REG);
- ix86_compare_op0 = operands[0];
- ix86_compare_op1 = operands[1];
- ix86_compare_emitted = flags;
#ifdef TARGET_THREAD_SSP_OFFSET
if (TARGET_64BIT)
@@ -21971,6 +21968,9 @@
else
emit_insn (gen_stack_protect_test_si (flags, operands[0], operands[1]));
#endif
+
+ ix86_compare_op0 = flags;
+ ix86_compare_op1 = const0_rtx;
emit_jump_insn (gen_beq (operands[2]));
DONE;
})