diff mbox

Fix PR68644

Message ID ca576e71-e923-b2e4-2958-aa0c3cfdaa89@linux.vnet.ibm.com
State New
Headers show

Commit Message

Bill Schmidt Feb. 22, 2017, 5:57 p.m. UTC
ENOPATCH.  Trying again...

Hi,

As discussed in https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68644,
the test case gcc.dg/tree-ssa/ivopts-lt-2.c does not apply to POWER
targets, as the cost model properly shows the pre-increment approach
to be preferable and results in ideal code generation.  Thus, adding
powerpc*-*-* to the list of targets to skip for this test.

Verified on powerpc64le-unknown-linux-gnu.  Is this ok for trunk?

Thanks,
Bill


2017-02-22  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>

	PR tree-optimization/68644
	* gcc.dg/tree-ssa/ivopts-lt-2.c: Skip for powerpc*-*-*.
diff mbox

Patch

Index: gcc/testsuite/gcc.dg/tree-ssa/ivopts-lt-2.c
===================================================================
--- gcc/testsuite/gcc.dg/tree-ssa/ivopts-lt-2.c	(revision 245653)
+++ gcc/testsuite/gcc.dg/tree-ssa/ivopts-lt-2.c	(working copy)
@@ -1,6 +1,6 @@ 
 /* { dg-do compile } */
 /* { dg-options "-O2 -fdump-tree-ivopts" } */
-/* { dg-skip-if "PR68644" { hppa*-*-* } { "*" } { "" } } */
+/* { dg-skip-if "PR68644" { hppa*-*-* powerpc*-*-* } { "*" } { "" } } */
 
 void
 f1 (int *p, unsigned int i)