projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5c71c5b
)
(gen_int_relational): Use 'U' for unsigned constants.
author
Richard Kenner
<kenner@gcc.gnu.org>
Sun, 22 Oct 1995 11:38:43 +0000
(07:38 -0400)
committer
Richard Kenner
<kenner@gcc.gnu.org>
Sun, 22 Oct 1995 11:38:43 +0000
(07:38 -0400)
From-SVN: r10504
gcc/config/mips/mips.c
patch
|
blob
|
history
diff --git
a/gcc/config/mips/mips.c
b/gcc/config/mips/mips.c
index 890b3d7b50a9b1f936bb59ae6e1ed7200a858957..a978c198dba63e1a4e134ad1832a8b931b6681b2 100644
(file)
--- a/
gcc/config/mips/mips.c
+++ b/
gcc/config/mips/mips.c
@@
-1844,7
+1844,7
@@
gen_int_relational (test_code, result, cmp0, cmp1, p_invert)
HOST_WIDE_INT new = INTVAL (cmp1) + p_info->const_add;
/* If modification of cmp1 caused overflow,
we would get the wrong answer if we follow the usual path;
- thus, x > 0xffffffff
u would turn into x > 0u
. */
+ thus, x > 0xffffffff
U would turn into x > 0U
. */
if ((p_info->unsignedp
? (unsigned HOST_WIDE_INT) new > INTVAL (cmp1)
: new > INTVAL (cmp1))