OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cd9f080
)
(check_format_info): Avoid ?: conditional for function to be called.
author
rms
<rms@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 10 Oct 1993 05:28:35 +0000
(
05:28
+0000)
committer
rms
<rms@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 10 Oct 1993 05:28:35 +0000
(
05:28
+0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@5704
138bc75d
-0d04-0410-961f-
82ee72b054a4
gcc/c-common.c
patch
|
blob
|
history
diff --git
a/gcc/c-common.c
b/gcc/c-common.c
index
2af1ea9
..
19fa266
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;