(check_format_info): Avoid ?: conditional for function to be called.
authorRichard Stallman <rms@gnu.org>
Sun, 10 Oct 1993 05:28:35 +0000 (05:28 +0000)
committerRichard Stallman <rms@gnu.org>
Sun, 10 Oct 1993 05:28:35 +0000 (05:28 +0000)
From-SVN: r5704

gcc/c-common.c

index 2af1ea91e0cb36d716ded293abe9012064398c25..19fa2669ffba012555c6bfaf78e2c4d182024be6 100644 (file)
@@ -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;