aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@gcc.gnu.org>2005-11-04 10:34:20 +0100
committerAndreas Jaeger <aj@gcc.gnu.org>2005-11-04 10:34:20 +0100
commit4d4c9bdd6505d818f325b3d3ce1402a7eb1d86eb (patch)
treedf01d1708d7c9bcbb7b1e0caa973a56ae89e67ca /gcc/testsuite/gcc.dg
parentf2ae4b2bd03c98446d25729a4483b35e515a08d4 (diff)
downloadgcc-4d4c9bdd6505d818f325b3d3ce1402a7eb1d86eb.zip
gcc-4d4c9bdd6505d818f325b3d3ce1402a7eb1d86eb.tar.gz
gcc-4d4c9bdd6505d818f325b3d3ce1402a7eb1d86eb.tar.bz2
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
Diffstat (limited to 'gcc/testsuite/gcc.dg')
-rw-r--r--gcc/testsuite/gcc.dg/format/unnamed-1.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/gcc/testsuite/gcc.dg/format/unnamed-1.c b/gcc/testsuite/gcc.dg/format/unnamed-1.c
index 5fc11a1..11a7de0 100644
--- a/gcc/testsuite/gcc.dg/format/unnamed-1.c
+++ b/gcc/testsuite/gcc.dg/format/unnamed-1.c
@@ -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 } */
}