diff options
author | Richard Stallman <rms@gnu.org> | 1993-10-10 05:28:35 +0000 |
---|---|---|
committer | Richard Stallman <rms@gnu.org> | 1993-10-10 05:28:35 +0000 |
commit | 4215e49850cfdc5a8dbb13f8d248bb450f2c0fef (patch) | |
tree | 0ea1ad41132b28720990fca44aafdb17b0078335 | |
parent | 14b6efffc7b877ee4b07d880dfb34b177aa6801f (diff) | |
download | gcc-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.c | 5 |
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; |