dfp-scanf-1.c: Disable for *-*-mingw* targets.

2010-10-13  Kai Tietz  <kai.tietz@onevision.com>

        * gcc.dg/format/dfp-scanf-1.c: Disable for *-*-mingw* targets.
        * gcc.dg/format/dfp-printf-1.c: Likewise.
        * gcc.dg/format/ms_unnamed-1.c: Adjust linenumber for warning.

From-SVN: r165432
This commit is contained in:
Kai Tietz 2010-10-13 18:39:57 +00:00 committed by Kai Tietz
parent 74e80a2473
commit d1655e0b38
4 changed files with 9 additions and 2 deletions

View File

@ -1,3 +1,9 @@
2010-10-13 Kai Tietz <kai.tietz@onevision.com>
* gcc.dg/format/dfp-scanf-1.c: Disable for *-*-mingw* targets.
* gcc.dg/format/dfp-printf-1.c: Likewise.
* gcc.dg/format/ms_unnamed-1.c: Adjust linenumber for warning.
2010-10-13 Richard Guenther <rguenther@suse.de>
PR tree-optimization/45788

View File

@ -3,6 +3,7 @@
/* { dg-do compile } */
/* { dg-require-effective-target dfp } */
/* { dg-options "-Wformat" } */
/* { dg-skip-if "No scanf/printf dfp support" { *-*-mingw* } } */
extern int printf (const char *restrict, ...);

View File

@ -3,7 +3,7 @@
/* { dg-do compile } */
/* { dg-require-effective-target dfp } */
/* { dg-options "-Wformat" } */
/* { dg-skip-if "No scanf/printf dfp support" { *-*-mingw* } } */
#include "format.h"

View File

@ -21,5 +21,5 @@ f (TItype x)
{
printf("%d", x); /* { dg-warning "expects type" } */
printf("%d", 141592653589793238462643383279502884197169399375105820974944); /* { dg-warning "expects type" } */
/* { dg-warning "unsigned only|too large" "constant" { target *-*-* } 22 } */
/* { dg-warning "unsigned only|too large" "constant" { target *-*-* } 23 } */
}