re PR rtl-optimization/77416 (LRA rematerializing use of CA reg across function call)
authorJakub Jelinek <jakub@redhat.com>
Wed, 18 Jan 2017 17:39:56 +0000 (18:39 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Wed, 18 Jan 2017 17:39:56 +0000 (18:39 +0100)
PR target/77416
* gcc.target/powerpc/pr77416.c Guard the test only for ilp32 effective
target.  Use powerpc* instead of powerpc64* in targets.  Remove -m32
from dg-options.
* gcc.target/powerpc/pr64205.c: Remove -m32 from dg-options of ilp32
guarded test.
* gcc.target/powerpc/fusion4.c: Likewise.
* gcc.target/powerpc/pr63491.c: Remove -m64 from dg-options of lp64
guarded test.
* gcc.target/powerpc/pr58673-1.c: Likewise.
* gcc.target/powerpc/pr58673-2.c: Likewise.
* gcc.target/powerpc/pr59054.c: Likewise.

From-SVN: r244585

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/powerpc/fusion4.c
gcc/testsuite/gcc.target/powerpc/pr58673-1.c
gcc/testsuite/gcc.target/powerpc/pr58673-2.c
gcc/testsuite/gcc.target/powerpc/pr59054.c
gcc/testsuite/gcc.target/powerpc/pr63491.c
gcc/testsuite/gcc.target/powerpc/pr64205.c
gcc/testsuite/gcc.target/powerpc/pr77416.c

index 480a09b78c350db703589c0258d5bb21180099c7..5b38a5658818a3507e3efda58864043b7b176b90 100644 (file)
@@ -1,3 +1,18 @@
+2017-01-18  Jakub Jelinek  <jakub@redhat.com>
+
+       PR target/77416
+       * gcc.target/powerpc/pr77416.c Guard the test only for ilp32 effective
+       target.  Use powerpc* instead of powerpc64* in targets.  Remove -m32
+       from dg-options.
+       * gcc.target/powerpc/pr64205.c: Remove -m32 from dg-options of ilp32
+       guarded test.
+       * gcc.target/powerpc/fusion4.c: Likewise.
+       * gcc.target/powerpc/pr63491.c: Remove -m64 from dg-options of lp64
+       guarded test.
+       * gcc.target/powerpc/pr58673-1.c: Likewise.
+       * gcc.target/powerpc/pr58673-2.c: Likewise.
+       * gcc.target/powerpc/pr59054.c: Likewise.
+
 2017-01-18  Maxim Ostapenko  <m.ostapenko@samsung.com>
 
        PR lto/79061
index e0185ead1a3913df4d5b58e029b020b942063646..7ee064c1182ccc86b37c5ced7e7fa3dc650c16e1 100644 (file)
@@ -2,7 +2,7 @@
 /* { dg-skip-if "" { powerpc*-*-darwin* } { "*" } { "" } } */
 /* { dg-require-effective-target powerpc_p9vector_ok } */
 /* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power7" } } */
-/* { dg-options "-mcpu=power7 -mtune=power9 -O3 -msoft-float -m32" } */
+/* { dg-options "-mcpu=power7 -mtune=power9 -O3 -msoft-float" } */
 
 #define LARGE 0x12345
 
index c99ce198987689b5ae35231a196986dd8ed07c7c..01d53fa49ca86525a96af45ac74f0956cb52f622 100644 (file)
@@ -2,7 +2,7 @@
 /* { dg-skip-if "" { powerpc*-*-darwin* } { "*" } { "" } } */
 /* { dg-require-effective-target powerpc_p8vector_ok } */
 /* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power8" } } */
-/* { dg-options "-mcpu=power8 -m64 -O1" } */
+/* { dg-options "-mcpu=power8 -O1" } */
 
 enum typecode
 {
index 380ccd099e5350ddc19fc66d1669fd63ec854e5b..c9190942632bbb5c7f84c0db9dc9a8bc24f2e992 100644 (file)
@@ -2,7 +2,7 @@
 /* { dg-skip-if "" { powerpc*-*-darwin* } { "*" } { "" } } */
 /* { dg-require-effective-target powerpc_p8vector_ok } */
 /* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power8" } } */
-/* { dg-options "-mcpu=power8 -O3 -m64 -funroll-loops" } */
+/* { dg-options "-mcpu=power8 -O3 -funroll-loops" } */
 
 #include <stddef.h>
 #include <stdlib.h>
index 6871ea0d1afd2d7a65391e19be68f327c2573732..c33d937dfef990f26fbc6ab3e8eaac765dc8aa78 100644 (file)
@@ -2,6 +2,6 @@
 /* { dg-skip-if "" { powerpc*-*-darwin* } { "*" } { "" } } */
 /* { dg-require-effective-target powerpc_vsx_ok } */
 /* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power7" } } */
-/* { dg-options "-mcpu=power7 -O0 -m64" } */
+/* { dg-options "-mcpu=power7 -O0" } */
 
 long foo (void) { return 0; }
index 765bdda4189b5f09c72a520a1c2f8168d75a6f98..a151891230898388e51624abe9c383b298549824 100644 (file)
@@ -1,5 +1,5 @@
 /* { dg-do compile { target { powerpc*-*-* && lp64 } } } */
-/* { dg-options "-O1 -m64 -mcpu=power8 -mlra" } */
+/* { dg-options "-O1 -mcpu=power8 -mlra" } */
 
 typedef __int128_t __attribute__((__vector_size__(16))) vector_128_t;
 typedef unsigned long long scalar_64_t;
index ee5ff120abd4a0c4d232cb424be201dae4d2de2f..f421ec203a0b0c886e00c2e0a6f651f099273359 100644 (file)
@@ -1,7 +1,7 @@
 /* { dg-do compile { target { powerpc*-*-* && ilp32 } } } */
 /* { dg-skip-if "" { powerpc*-*-aix* } { "*" } { "" } } */
 /* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=G5" } } */
-/* { dg-options "-O2 -mcpu=G5 -maltivec -m32" } */
+/* { dg-options "-O2 -mcpu=G5 -maltivec" } */
 
 union ieee754r_Decimal32
 {
index c87a1987ac523790c4b9f547a4f2011f2f5159b8..cb7bcc94aefadacdaa5de333c56198151513586f 100644 (file)
@@ -1,7 +1,7 @@
-/* { dg-do compile { target { powerpc64*-*-*} } } */
-/* { dg-skip-if "" { powerpc64-*-aix* } { "*" } { "" } } */
-/* { dg-skip-if "do not override -mcpu" { powerpc64*-*-* } { "-mcpu=*" } { "-mcpu=power7" } } */
-/* { dg-options "-mcpu=power7 -O2 -m32" } */
+/* { dg-do compile { target { { powerpc*-*-* } && ilp32 } } } */
+/* { dg-skip-if "" { powerpc*-*-aix* } { "*" } { "" } } */
+/* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power7" } } */
+/* { dg-options "-mcpu=power7 -O2" } */
 /* { dg-final { scan-assembler-times "addze" 1 } } */
 
 extern int fn2 ();