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

Peter Bergner bergner@vnet.ibm.com
Tue Feb 13 22:34:00 GMT 2018


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.

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
 



More information about the Gcc-patches mailing list