aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Stallman <rms@gnu.org>1993-10-10 05:28:35 +0000
committerRichard Stallman <rms@gnu.org>1993-10-10 05:28:35 +0000
commit4215e49850cfdc5a8dbb13f8d248bb450f2c0fef (patch)
tree0ea1ad41132b28720990fca44aafdb17b0078335
parent14b6efffc7b877ee4b07d880dfb34b177aa6801f (diff)
downloadgcc-4215e49850cfdc5a8dbb13f8d248bb450f2c0fef.zip
gcc-4215e49850cfdc5a8dbb13f8d248bb450f2c0fef.tar.gz
gcc-4215e49850cfdc5a8dbb13f8d248bb450f2c0fef.tar.bz2
(check_format_info): Avoid ?: conditional for function to be called.
From-SVN: r5704
-rw-r--r--gcc/c-common.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/gcc/c-common.c b/gcc/c-common.c
index 2af1ea9..19fa266 100644
--- a/gcc/c-common.c
+++ b/gcc/c-common.c
@@ -865,8 +865,9 @@ check_format_info (info, params)
/* Don't warn about differences merely in signedness. */
&& !(TREE_CODE (wanted_type) == INTEGER_TYPE
&& TREE_CODE (cur_type) == INTEGER_TYPE
- && (wanted_type == (TREE_UNSIGNED (wanted_type)
- ? unsigned_type : signed_type) (cur_type))))
+ && (TREE_UNSIGNED (wanted_type)
+ ? wanted_type == unsigned_type (cur_type)
+ : wanted_type == signed_type (cur_type))))
{
register char *this;
register char *that;