aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOzkan Sezer <sezeroz@gmail.com>2010-02-05 17:23:24 +0000
committerKai Tietz <ktietz@gcc.gnu.org>2010-02-05 18:23:24 +0100
commit126edba2b7e1a6c8bd208fcacc9639e6320b4e2a (patch)
treedd0ee63b445cb9116a26c9da3a34d4a81fdd7caa
parentebd14cbb4fea202823d08dbc79962535ab8c3335 (diff)
downloadgcc-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/ChangeLog5
-rw-r--r--gcc/config/i386/msformat-c.c2
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 }
};