From: Zdenek Dvorak Date: Wed, 14 Jan 2004 07:20:48 +0000 (+0100) Subject: * config/i386/i386.md (*addqi_1_slp): Do not access operands[2]. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=79551a561038fa24ba4cdade1f61529faee366b2;p=gcc.git * config/i386/i386.md (*addqi_1_slp): Do not access operands[2]. From-SVN: r75845 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index fa89d0dcf38..652e25156f6 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2004-01-14 Zdenek Dvorak + + * config/i386/i386.md (*addqi_1_slp): Do not access operands[2]. + 2004-01-13 Kazu Hirata * config/iq2000/iq2000-protos.h: Fix comment formatting. diff --git a/gcc/config/i386/i386.md b/gcc/config/i386/i386.md index ab35e075868..36c3dc4aeca 100644 --- a/gcc/config/i386/i386.md +++ b/gcc/config/i386/i386.md @@ -6307,7 +6307,7 @@ if (GET_CODE (operands[1]) == CONST_INT && INTVAL (operands[1]) < 0) { - operands[2] = GEN_INT (-INTVAL (operands[2])); + operands[1] = GEN_INT (-INTVAL (operands[1])); return "sub{b}\t{%1, %0|%0, %1}"; } return "add{b}\t{%1, %0|%0, %1}";