This commit 2008-02-20 Uros Bizjak <[EMAIL PROTECTED]> * 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