[rs6000,committed] Fix PR80370: Invalid option used in test case gcc.target/powerpc/builtins-3-p9-runnable.c

Message ID 9f9cd766-695e-1694-7854-a727bbf18342@vnet.ibm.com
State New
Headers show
Series
  • [rs6000,committed] Fix PR80370: Invalid option used in test case gcc.target/powerpc/builtins-3-p9-runnable.c
Related show

Commit Message

Peter Bergner Feb. 13, 2018, 10:34 p.m.
This patch removes an undocumented option that has since been deprecated and
removed and was causing this test case to FAIL.  The obvious patch below was
approved by Segher offline.  Committed.

Peter

	PR target/84370
	* gcc.target/powerpc/builtins-3-p9-runnable.c: Remove deprecated option.

Patch

Index: gcc/testsuite/gcc.target/powerpc/builtins-3-p9-runnable.c
===================================================================
--- gcc/testsuite/gcc.target/powerpc/builtins-3-p9-runnable.c	(revision 257641)
+++ gcc/testsuite/gcc.target/powerpc/builtins-3-p9-runnable.c	(revision 257642)
@@ -1,6 +1,6 @@ 
 /* { dg-do run { target { powerpc64*-*-* && { lp64 && p9vector_hw } } } } */
 /* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power9" } } */
-/* { dg-options "-mcpu=power9 -O2 -mupper-regs-di" } */
+/* { dg-options "-mcpu=power9 -O2" } */
 
 #include <altivec.h> // vector