Commit d1655e0b by Kai Tietz Committed by Kai Tietz

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
parent 74e80a24
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
......
......@@ -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, ...);
......
......@@ -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"
......
......@@ -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 } */
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment