diff options
author | Ozkan Sezer <sezeroz@gmail.com> | 2010-02-05 17:23:24 +0000 |
---|---|---|
committer | Kai Tietz <ktietz@gcc.gnu.org> | 2010-02-05 18:23:24 +0100 |
commit | 126edba2b7e1a6c8bd208fcacc9639e6320b4e2a (patch) | |
tree | dd0ee63b445cb9116a26c9da3a34d4a81fdd7caa | |
parent | ebd14cbb4fea202823d08dbc79962535ab8c3335 (diff) | |
download | gcc-126edba2b7e1a6c8bd208fcacc9639e6320b4e2a.zip gcc-126edba2b7e1a6c8bd208fcacc9639e6320b4e2a.tar.gz gcc-126edba2b7e1a6c8bd208fcacc9639e6320b4e2a.tar.bz2 |
msformat-c.c (ms_printf_length_specs): Set the scalar_identity_flag for the size_t/ptrdiff_t %Id and %Iu specs.
2010-02-05 Ozkan Sezer <sezeroz@gmail.com>
* config/i386/msformat-c.c (ms_printf_length_specs): Set the
scalar_identity_flag for the size_t/ptrdiff_t %Id and %Iu specs.
From-SVN: r156524
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/config/i386/msformat-c.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index b7548b9..7020d4f 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2010-02-05 Ozkan Sezer <sezeroz@gmail.com> + + * config/i386/msformat-c.c (ms_printf_length_specs): Set the + scalar_identity_flag for the size_t/ptrdiff_t %Id and %Iu specs. + 2010-02-05 Richard Guenther <rguenther@suse.de> PR lto/42762 diff --git a/gcc/config/i386/msformat-c.c b/gcc/config/i386/msformat-c.c index 020cdb3..ef46a8d 100644 --- a/gcc/config/i386/msformat-c.c +++ b/gcc/config/i386/msformat-c.c @@ -40,7 +40,7 @@ static format_length_info ms_printf_length_specs[] = { "l", FMT_LEN_l, STD_C89, NULL, FMT_LEN_none, STD_C89, 0 }, { "I32", FMT_LEN_l, STD_EXT, NULL, FMT_LEN_none, STD_C89, 1 }, { "I64", FMT_LEN_ll, STD_EXT, NULL, FMT_LEN_none, STD_C89, 1 }, - { "I", FMT_LEN_L, STD_EXT, NULL, FMT_LEN_none, STD_C89, 0 }, + { "I", FMT_LEN_L, STD_EXT, NULL, FMT_LEN_none, STD_C89, 1 }, { NULL, FMT_LEN_none, STD_C89, NULL, FMT_LEN_none, STD_C89, 0 } }; |