projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
218e0eb
)
* i386.c (ix86_expand_int_movcc): Avoid overflow.
author
Jan Hubicka
<jh@suse.cz>
Mon, 2 Dec 2002 18:44:05 +0000
(19:44 +0100)
committer
Jan Hubicka
<hubicka@gcc.gnu.org>
Mon, 2 Dec 2002 18:44:05 +0000
(18:44 +0000)
From-SVN: r59724
gcc/ChangeLog
patch
|
blob
|
history
gcc/config/i386/i386.c
patch
|
blob
|
history
diff --git
a/gcc/ChangeLog
b/gcc/ChangeLog
index ad643b8a8080718df505308e1c90db0d426eb2e7..7d31afc3305c90f647f4bd1ae7c30ea4a5ee81a9 100644
(file)
--- a/
gcc/ChangeLog
+++ b/
gcc/ChangeLog
@@
-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.
diff --git
a/gcc/config/i386/i386.c
b/gcc/config/i386/i386.c
index e379c4aa85fc030c70b66c64626a158c3c443d25..80ee90eadb9a20c1484a60e7fc3ba8a733f43573 100644
(file)
--- 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);