* i386.c (ix86_expand_int_movcc): Avoid overflow.

From-SVN: r59724
This commit is contained in:
Jan Hubicka 2002-12-02 19:44:05 +01:00 committed by Jan Hubicka
parent 218e0eb6d3
commit adc72fa6ce
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
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>
* config/h8300/h8300.c (dosize): Output r7/er7 instead of sp.

View File

@ -9031,7 +9031,7 @@ ix86_expand_int_movcc (operands)
/* To simplify rest of code, restrict to the GEU case. */
if (compare_code == LTU)
{
int tmp = ct;
HOST_WIDE_INT tmp = ct;
ct = cf;
cf = tmp;
compare_code = reverse_condition (compare_code);