diff options
author | Jakub Jelinek <jakub@redhat.com> | 2008-07-29 18:27:50 +0200 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2008-07-29 18:27:50 +0200 |
commit | 11cc4546906b5b73b367b7e14df85281fbed04db (patch) | |
tree | b7b6977b7703da52fe06a589e143a902fd8cb5ee /gcc | |
parent | ebf5ba04c29c5373e6c9ba0692d525fb8dfe60eb (diff) | |
download | gcc-11cc4546906b5b73b367b7e14df85281fbed04db.zip gcc-11cc4546906b5b73b367b7e14df85281fbed04db.tar.gz gcc-11cc4546906b5b73b367b7e14df85281fbed04db.tar.bz2 |
* c-format.c (check_format_types): Revert unwanted checkin.
From-SVN: r138249
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/c-format.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 8f51561..df3a03b 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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. diff --git a/gcc/c-format.c b/gcc/c-format.c index 9d20d12..fa28763 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 |