This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug testsuite/36057] New: struct-layout-1_generate.c uses non-standard '%n$' operand number formats


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]