unnamed-1.c: Add -msse for x86 compilation to avoid extra warnings.

* gcc.dg/format/unnamed-1.c: Add -msse for x86 compilation to
        avoid extra warnings.

From-SVN: r106486
This commit is contained in:
Andreas Jaeger 2005-11-04 10:34:20 +01:00
parent f2ae4b2bd0
commit 4d4c9bdd65
2 changed files with 31 additions and 24 deletions

View File

@ -1,3 +1,8 @@
2005-11-04 Andreas Jaeger <aj@suse.de>
* gcc.dg/format/unnamed-1.c: Add -msse for x86 compilation to
avoid extra warnings.
2005-11-04 Francois-Xavier Coudert <coudert@clipper.ens.fr>
PR libfortran/22298

View File

@ -2,6 +2,8 @@
/* Origin: Joseph Myers <joseph@codesourcery.com> */
/* { dg-do compile } */
/* { dg-options "-Wformat" } */
/* { dg-options "-Wformat -msse" { target { i?86-*-* && ilp32 } } } */
/* { dg-options "-Wformat -msse" { target { x86_64-*-* && ilp32 } } } */
#include "format.h"
@ -18,5 +20,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 *-*-* } 20 } */
/* { dg-warning "unsigned only|too large" "constant" { target *-*-* } 22 } */
}