This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug testsuite/36057] New: struct-layout-1_generate.c uses non-standard '%n$' operand number formats
- From: "dannysmith at users dot sourceforge dot net" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 26 Apr 2008 21:18:38 -0000
- Subject: [Bug testsuite/36057] New: struct-layout-1_generate.c uses non-standard '%n$' operand number formats
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
This commit
2008-02-20 Uros Bizjak <ubizjak@gmail.com>
* g++.dg/compat/struct-layout-1_generate.c (DG_OPTIONS): New define.
(switchfiles): Use DG_OPTIONS. Explicitly name arguments in fprintf
templates to reduce number of passed arguments.
breaks the G++ struct-layout tests on MS Windows since the host printf family
does not support the '%n$' extension. The dg-options in generated files
look like
/* { dg-options "-w $s -I$s" } */
After reverting that patch all 150 tescase succeed.
--
Summary: struct-layout-1_generate.c uses non-standard '%n$'
operand number formats
Product: gcc
Version: 4.4.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: testsuite
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: dannysmith at users dot sourceforge dot net
GCC build triplet: i686-pc-mingw32
GCC host triplet: i686-pc-mingw32
GCC target triplet: i686-pc-mingw32
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36057