aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg
diff options
context:
space:
mode:
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 } */
}