pr70010.c: Add -Wno-psabi.
authorDavid Edelsohn <dje.gcc@gmail.com>
Thu, 24 Oct 2019 00:49:02 +0000 (00:49 +0000)
committerDavid Edelsohn <dje@gcc.gnu.org>
Thu, 24 Oct 2019 00:49:02 +0000 (20:49 -0400)
        * 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

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/powerpc/pr70010-1.c
gcc/testsuite/gcc.target/powerpc/pr70010-2.c
gcc/testsuite/gcc.target/powerpc/pr70010.c
gcc/testsuite/gcc.target/powerpc/pr91275.c

index 2fd237b..b3d44fa 100644 (file)
@@ -1,3 +1,9 @@
+2019-10-23  David Edelsohn  <dje.gcc@gmail.com>
+
+       * 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  <rguenther@suse.de>
 
        PR tree-optimization/65930
index 78870db..4b3abb7 100644 (file)
@@ -1,5 +1,6 @@
 /* { dg-do compile } */
 /* { dg-options "-O2 -flto -mvsx" } */
+/* { dg-require-effective-target lto } */
 
 vector int c, a, b;
 
index 4c09b21..0c04c53 100644 (file)
@@ -1,5 +1,6 @@
 /* { dg-do compile } */
 /* { dg-options "-O2 -flto -mno-vsx" } */
+/* { dg-require-effective-target lto } */
 
 vector int c, a, b;
 
index 257ac29..0632358 100644 (file)
@@ -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)));
index cd46115..bcceec1 100644 (file)
@@ -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 <altivec.h>