From: Jakub Jelinek Date: Tue, 29 Jul 2008 16:27:50 +0000 (+0200) Subject: * c-format.c (check_format_types): Revert unwanted checkin. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=11cc4546906b5b73b367b7e14df85281fbed04db;p=gcc.git * c-format.c (check_format_types): Revert unwanted checkin. From-SVN: r138249 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 8f51561972e..df3a03b855a 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2008-07-29 Jakub Jelinek + + * c-format.c (check_format_types): Revert unwanted checkin. + 2008-07-29 Jan Hubicka * flags.h (flag_really_no_inline): Remove. diff --git a/gcc/c-format.c b/gcc/c-format.c index 9d20d12b97b..fa28763028f 100644 --- a/gcc/c-format.c +++ b/gcc/c-format.c @@ -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