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
This commit is contained in:
Ozkan Sezer 2010-02-05 17:23:24 +00:00 committed by Kai Tietz
parent ebd14cbb4f
commit 126edba2b7
2 changed files with 6 additions and 1 deletions

View File

@ -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> 2010-02-05 Richard Guenther <rguenther@suse.de>
PR lto/42762 PR lto/42762

View File

@ -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 }, { "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 }, { "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 }, { "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 } { NULL, FMT_LEN_none, STD_C89, NULL, FMT_LEN_none, STD_C89, 0 }
}; };