OSDN Git Service

2008-10-13 Kai Tietz <kai.tietz@onevision.com>
authorktietz <ktietz@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 13 Oct 2008 10:32:07 +0000 (10:32 +0000)
committerktietz <ktietz@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 13 Oct 2008 10:32:07 +0000 (10:32 +0000)
commit78e16ab5562671ddce186cccf332c0c9fedbc3b9
tree6b5e20bdfb092f077651b8c498e3001d78912b1e
parentc214098d5f8e06c2fa554f7bf2311cc93321a074
2008-10-13  Kai Tietz  <kai.tietz@onevision.com>

Fix PR/25502
* c-format.c (convert_format_name_to_system_name): Use
TARGET_OVERRIDES_FORMAT_INIT.
* config.gcc (extra_options): Add for mingw targets mingw.opt.
* config/i386/mingw.opt: New.
* config/i386/mingw32.h (TARGET_OVERRIDES_FORMAT_INIT): New.
* config/i386/msformat-c.c (TARGET_OVERRIDES_FORMAT_INIT): New.
(ms_printf_length_specs): Removed const specifier.
* doc/tm.texi (TARGET_OVERRIDES_FORMAT_INIT): New.
* doc/invoke.texi (Wno-pedantic-ms-format): New.
* testsuite/gcc.dg/format/ms-format1.c: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@141087 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/c-format.c
gcc/config.gcc
gcc/config/i386/mingw.opt [new file with mode: 0644]
gcc/config/i386/mingw32.h
gcc/config/i386/msformat-c.c
gcc/doc/invoke.texi
gcc/doc/tm.texi
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/format/ms-format1.c [new file with mode: 0644]