From: David Edelsohn Date: Thu, 24 Oct 2019 00:49:02 +0000 (+0000) Subject: pr70010.c: Add -Wno-psabi. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=61d5466b6db685ff3b484ffdd3ae57198a4dd123;p=gcc.git pr70010.c: Add -Wno-psabi. * gcc.target/powerpc/pr70010.c: Add -Wno-psabi. * gcc.target/powerpc/pr70010-[12].c: Require LTO. * gcc.target/powerpc/pr91275.c: Add -mcpu=power8. From-SVN: r277363 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 2fd237bd8be..b3d44fa8ed9 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2019-10-23 David Edelsohn + + * gcc.target/powerpc/pr70010.c: Add -Wno-psabi. + * gcc.target/powerpc/pr70010-[12].c: Require LTO. + * gcc.target/powerpc/pr91275.c: Add -mcpu=power8. + 2019-10-23 Richard Biener PR tree-optimization/65930 diff --git a/gcc/testsuite/gcc.target/powerpc/pr70010-1.c b/gcc/testsuite/gcc.target/powerpc/pr70010-1.c index 78870dbd886..4b3abb7d8fe 100644 --- a/gcc/testsuite/gcc.target/powerpc/pr70010-1.c +++ b/gcc/testsuite/gcc.target/powerpc/pr70010-1.c @@ -1,5 +1,6 @@ /* { dg-do compile } */ /* { dg-options "-O2 -flto -mvsx" } */ +/* { dg-require-effective-target lto } */ vector int c, a, b; diff --git a/gcc/testsuite/gcc.target/powerpc/pr70010-2.c b/gcc/testsuite/gcc.target/powerpc/pr70010-2.c index 4c09b216689..0c04c5390db 100644 --- a/gcc/testsuite/gcc.target/powerpc/pr70010-2.c +++ b/gcc/testsuite/gcc.target/powerpc/pr70010-2.c @@ -1,5 +1,6 @@ /* { dg-do compile } */ /* { dg-options "-O2 -flto -mno-vsx" } */ +/* { dg-require-effective-target lto } */ vector int c, a, b; diff --git a/gcc/testsuite/gcc.target/powerpc/pr70010.c b/gcc/testsuite/gcc.target/powerpc/pr70010.c index 257ac297a8a..06323585bf3 100644 --- a/gcc/testsuite/gcc.target/powerpc/pr70010.c +++ b/gcc/testsuite/gcc.target/powerpc/pr70010.c @@ -1,5 +1,5 @@ /* { dg-do compile } */ -/* { dg-options "-O2 -finline-functions" } */ +/* { dg-options "-O2 -finline-functions -Wno-psabi" } */ /* { dg-final { scan-assembler {\mbl vadd_no_vsx\M} } } */ typedef int vec_t __attribute__((vector_size(16))); diff --git a/gcc/testsuite/gcc.target/powerpc/pr91275.c b/gcc/testsuite/gcc.target/powerpc/pr91275.c index cd461158af7..bcceec16a0c 100644 --- a/gcc/testsuite/gcc.target/powerpc/pr91275.c +++ b/gcc/testsuite/gcc.target/powerpc/pr91275.c @@ -1,7 +1,7 @@ /* Test that we generate vpmsumd correctly without a swap error. */ /* { dg-do run { target { p8vector_hw } } } */ -/* { dg-options "-O2 -std=gnu11" } */ +/* { dg-options "-O2 -std=gnu11 -mcpu=power8" } */ #include