* c-format.c (check_format_types): Revert unwanted checkin.

From-SVN: r138249
This commit is contained in:
Jakub Jelinek 2008-07-29 18:27:50 +02:00 committed by Jakub Jelinek
parent ebf5ba04c2
commit 11cc454690
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2008-07-29 Jakub Jelinek <jakub@redhat.com>
* c-format.c (check_format_types): Revert unwanted checkin.
2008-07-29 Jan Hubicka <jh@suse.cz>
* flags.h (flag_really_no_inline): Remove.

View File

@ -2262,7 +2262,7 @@ check_format_types (format_wanted_type *types, const char *format_start,
&& TREE_CODE (cur_type) == INTEGER_TYPE
&& (!pedantic || i == 0 || (i == 1 && char_type_flag))
&& (TYPE_UNSIGNED (wanted_type)
? wanted_type == unsigned_type_for (cur_type)
? wanted_type == c_common_unsigned_type (cur_type)
: wanted_type == c_common_signed_type (cur_type)))
continue;
/* Likewise, "signed char", "unsigned char" and "char" are