From f68dd0a957eb48a52a197a71f253c4abcbdc3fb3 Mon Sep 17 00:00:00 2001 From: Marek Polacek Date: Tue, 21 Jul 2015 10:01:53 +0000 Subject: [PATCH] unpack-be-order.c: Use -Wno-shift-overflow. * gcc.dg/vmx/unpack-be-order.c: Use -Wno-shift-overflow. * gcc.dg/vmx/unpack.c: Likewise. * gcc.target/powerpc/quad-atomic.c: Likewise. From-SVN: r226032 --- gcc/testsuite/ChangeLog | 6 ++++++ gcc/testsuite/gcc.dg/vmx/unpack-be-order.c | 2 +- gcc/testsuite/gcc.dg/vmx/unpack.c | 2 ++ gcc/testsuite/gcc.target/powerpc/quad-atomic.c | 2 +- 4 files changed, 10 insertions(+), 2 deletions(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index e15b51f9211..4c018b616ce 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2015-07-21 Marek Polacek + + * gcc.dg/vmx/unpack-be-order.c: Use -Wno-shift-overflow. + * gcc.dg/vmx/unpack.c: Likewise. + * gcc.target/powerpc/quad-atomic.c: Likewise. + 2015-07-20 Uros Bizjak * gcc.target/i386/asm-flag-5.c (f_ll): New. diff --git a/gcc/testsuite/gcc.dg/vmx/unpack-be-order.c b/gcc/testsuite/gcc.dg/vmx/unpack-be-order.c index e174433dd23..6eb98f4cf72 100644 --- a/gcc/testsuite/gcc.dg/vmx/unpack-be-order.c +++ b/gcc/testsuite/gcc.dg/vmx/unpack-be-order.c @@ -1,4 +1,4 @@ -/* { dg-options "-maltivec=be -mabi=altivec -std=gnu99 -mno-vsx" } */ +/* { dg-options "-maltivec=be -mabi=altivec -std=gnu99 -mno-vsx -Wno-shift-overflow" } */ #include "harness.h" diff --git a/gcc/testsuite/gcc.dg/vmx/unpack.c b/gcc/testsuite/gcc.dg/vmx/unpack.c index 3c13163cb7b..e71a5a69681 100644 --- a/gcc/testsuite/gcc.dg/vmx/unpack.c +++ b/gcc/testsuite/gcc.dg/vmx/unpack.c @@ -1,3 +1,5 @@ +/* { dg-options "-Wno-shift-overflow" } */ + #include "harness.h" #define BIG 4294967295 diff --git a/gcc/testsuite/gcc.target/powerpc/quad-atomic.c b/gcc/testsuite/gcc.target/powerpc/quad-atomic.c index 0d7089b945e..dc0e3a87aaf 100644 --- a/gcc/testsuite/gcc.target/powerpc/quad-atomic.c +++ b/gcc/testsuite/gcc.target/powerpc/quad-atomic.c @@ -3,7 +3,7 @@ /* { dg-skip-if "" { powerpc*-*-*spe* } { "*" } { "" } } */ /* { dg-require-effective-target p8vector_hw } */ /* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power8" } } */ -/* { dg-options "-mcpu=power8 -O2" } */ +/* { dg-options "-mcpu=power8 -O2 -Wno-shift-overflow" } */ /* Test whether we get the right bits for quad word atomic instructions. */ #include -- 2.30.2