Commit adc72fa6 by Jan Hubicka Committed by Jan Hubicka

* i386.c (ix86_expand_int_movcc): Avoid overflow.

From-SVN: r59724
parent 218e0eb6
Mon Dec 2 19:42:52 CET 2002 Jan Hubicka <jh@suse.cz>
* i386.c (ix86_expand_int_movcc): Avoid overflow.
2002-12-02 Kazu Hirata <kazu@cs.umass.edu> 2002-12-02 Kazu Hirata <kazu@cs.umass.edu>
* config/h8300/h8300.c (dosize): Output r7/er7 instead of sp. * config/h8300/h8300.c (dosize): Output r7/er7 instead of sp.
......
...@@ -9031,7 +9031,7 @@ ix86_expand_int_movcc (operands) ...@@ -9031,7 +9031,7 @@ ix86_expand_int_movcc (operands)
/* To simplify rest of code, restrict to the GEU case. */ /* To simplify rest of code, restrict to the GEU case. */
if (compare_code == LTU) if (compare_code == LTU)
{ {
int tmp = ct; HOST_WIDE_INT tmp = ct;
ct = cf; ct = cf;
cf = tmp; cf = tmp;
compare_code = reverse_condition (compare_code); compare_code = reverse_condition (compare_code);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment