From: Richard Stallman Date: Sun, 10 Oct 1993 05:28:35 +0000 (+0000) Subject: (check_format_info): Avoid ?: conditional for function to be called. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4215e49850cfdc5a8dbb13f8d248bb450f2c0fef;p=gcc.git (check_format_info): Avoid ?: conditional for function to be called. From-SVN: r5704 --- diff --git a/gcc/c-common.c b/gcc/c-common.c index 2af1ea91e0c..19fa2669ffb 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;