projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
14b6eff
)
(check_format_info): Avoid ?: conditional for function to be called.
author
Richard Stallman
<rms@gnu.org>
Sun, 10 Oct 1993 05:28:35 +0000
(
05:28
+0000)
committer
Richard Stallman
<rms@gnu.org>
Sun, 10 Oct 1993 05:28:35 +0000
(
05:28
+0000)
From-SVN: r5704
gcc/c-common.c
patch
|
blob
|
history
diff --git
a/gcc/c-common.c
b/gcc/c-common.c
index 2af1ea91e0cb36d716ded293abe9012064398c25..19fa2669ffba012555c6bfaf78e2c4d182024be6 100644
(file)
--- 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;