diff options
-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 b7548b91ba4..7020d4fdc18 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 020cdb3c897..ef46a8d80af 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 } }; |