From: Jan Hubicka Date: Mon, 2 Dec 2002 18:44:05 +0000 (+0100) Subject: * i386.c (ix86_expand_int_movcc): Avoid overflow. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=adc72fa6ce7c89cbf7f35d3b53c7067006517ec3;p=gcc.git * i386.c (ix86_expand_int_movcc): Avoid overflow. From-SVN: r59724 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index ad643b8a808..7d31afc3305 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +Mon Dec 2 19:42:52 CET 2002 Jan Hubicka + + * i386.c (ix86_expand_int_movcc): Avoid overflow. + 2002-12-02 Kazu Hirata * config/h8300/h8300.c (dosize): Output r7/er7 instead of sp. diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c index e379c4aa85f..80ee90eadb9 100644 --- a/gcc/config/i386/i386.c +++ b/gcc/config/i386/i386.c @@ -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);