From d1655e0b38cecbdeed551818b2406fcb39919ba7 Mon Sep 17 00:00:00 2001 From: Kai Tietz Date: Wed, 13 Oct 2010 18:39:57 +0000 Subject: [PATCH] dfp-scanf-1.c: Disable for *-*-mingw* targets. 2010-10-13 Kai Tietz * 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 --- gcc/testsuite/ChangeLog | 6 ++++++ gcc/testsuite/gcc.dg/format/dfp-printf-1.c | 1 + gcc/testsuite/gcc.dg/format/dfp-scanf-1.c | 2 +- gcc/testsuite/gcc.dg/format/ms_unnamed-1.c | 2 +- 4 files changed, 9 insertions(+), 2 deletions(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 537a5071a220..d367981948ce 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2010-10-13 Kai Tietz + + * 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 PR tree-optimization/45788 diff --git a/gcc/testsuite/gcc.dg/format/dfp-printf-1.c b/gcc/testsuite/gcc.dg/format/dfp-printf-1.c index 505e4c72f025..7000b9854517 100644 --- a/gcc/testsuite/gcc.dg/format/dfp-printf-1.c +++ b/gcc/testsuite/gcc.dg/format/dfp-printf-1.c @@ -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, ...); diff --git a/gcc/testsuite/gcc.dg/format/dfp-scanf-1.c b/gcc/testsuite/gcc.dg/format/dfp-scanf-1.c index 6b010a40c8e6..b72da5b119ff 100644 --- a/gcc/testsuite/gcc.dg/format/dfp-scanf-1.c +++ b/gcc/testsuite/gcc.dg/format/dfp-scanf-1.c @@ -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" diff --git a/gcc/testsuite/gcc.dg/format/ms_unnamed-1.c b/gcc/testsuite/gcc.dg/format/ms_unnamed-1.c index 4b837e50675c..8c8ff0387847 100644 --- a/gcc/testsuite/gcc.dg/format/ms_unnamed-1.c +++ b/gcc/testsuite/gcc.dg/format/ms_unnamed-1.c @@ -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 } */ }