mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-03-19 10:10:39 +08:00
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:
parent
74e80a2473
commit
d1655e0b38
@ -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
|
||||
|
@ -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 } */
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user