From 4ae27eb62f59baed4be6cc11d154ac24db4a235d Mon Sep 17 00:00:00 2001 From: Jason Merrill Date: Mon, 19 Feb 1996 10:32:37 +0000 Subject: warn_sign_compare From-SVN: r11299 --- gcc/c-typeck.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gcc') diff --git a/gcc/c-typeck.c b/gcc/c-typeck.c index 986e699..da52a8d 100644 --- 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)); -- cgit v1.1