projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d51f936
)
warn_sign_compare
author
Jason Merrill
<merrill@gnu.org>
Mon, 19 Feb 1996 10:32:37 +0000
(10:32 +0000)
committer
Jason Merrill
<merrill@gnu.org>
Mon, 19 Feb 1996 10:32:37 +0000
(10:32 +0000)
From-SVN: r11299
gcc/c-typeck.c
patch
|
blob
|
history
diff --git
a/gcc/c-typeck.c
b/gcc/c-typeck.c
index 986e69946cadabf77f3c56ea1be9414651fc8fe7..da52a8da6082186d199e009c67aa6a31f83585bb 100644
(file)
--- a/
gcc/c-typeck.c
+++ b/
gcc/c-typeck.c
@@
-2439,7
+2439,7
@@
build_binary_op (code, orig_op0, orig_op1, convert_p)
converted = 1;
resultcode = xresultcode;
- if (
extra_warnings
)
+ if (
warn_sign_compare
)
{
int op0_signed = ! TREE_UNSIGNED (TREE_TYPE (orig_op0));
int op1_signed = ! TREE_UNSIGNED (TREE_TYPE (orig_op1));