diff options
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/testsuite/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/testsuite/gcc.dg/format/dfp-printf-1.c | 1 | ||||
-rw-r--r-- | gcc/testsuite/gcc.dg/format/dfp-scanf-1.c | 2 | ||||
-rw-r--r-- | 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 537a507..d367981 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -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 diff --git a/gcc/testsuite/gcc.dg/format/dfp-printf-1.c b/gcc/testsuite/gcc.dg/format/dfp-printf-1.c index 505e4c7..7000b98 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 6b010a4..b72da5b 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 4b837e5..8c8ff03 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 } */ } |