* c-format.c (check_format_types): Revert unwanted checkin.
authorJakub Jelinek <jakub@redhat.com>
Tue, 29 Jul 2008 16:27:50 +0000 (18:27 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Tue, 29 Jul 2008 16:27:50 +0000 (18:27 +0200)
From-SVN: r138249

gcc/ChangeLog
gcc/c-format.c

index 8f51561972eca64aa53aace1821c33aa091f0045..df3a03b855a87855f0f47722dbbae4805b0d1824 100644 (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.
index 9d20d12b97bd66574523f935b08260b7881d8541..fa28763028f9d2dffdf30d4327e610c944e5242e 100644 (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