public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [PATCH testsuite]XFAIL gcc.dg/tree-ssa/pr71347 on some targets
@ 2016-07-14 16:11 Bin Cheng
  2016-07-14 17:14 ` Jeff Law
  0 siblings, 1 reply; 4+ messages in thread
From: Bin Cheng @ 2016-07-14 16:11 UTC (permalink / raw)
  To: gcc-patches; +Cc: nd

[-- Attachment #1: Type: text/plain, Size: 753 bytes --]

Hi,
Test gcc.dg/tree-ssa/pr71347 failed on some targets if the two memory references are re-written into different forms by IVOPT.  This could be because of various reasons, for example, auto-increment addressing mode.  Since the address expressions are of different form, DOM fails to eliminate the redundant load at the moment.  I think DOM should be improved to handle address expressions appearing in different forms (at least for simple cases).  For now, I will XFAIL this test indicating a possible enhancement.

Test checked on affected targets.  Is it OK?

Thanks,
bin

gcc/testsuite/ChangeLog
2016-06-20  Bin Cheng  <bin.cheng@arm.com>

	PR tree-optimization/71347
	* gcc.dg/tree-ssa/pr71347.c: XFAIL on ia64, arm, m68k and sparc.

[-- Attachment #2: xfail-pr71347.txt --]
[-- Type: text/plain, Size: 525 bytes --]

diff --git a/gcc/testsuite/gcc.dg/tree-ssa/pr71347.c b/gcc/testsuite/gcc.dg/tree-ssa/pr71347.c
index c8f87a9..428e41b 100644
--- a/gcc/testsuite/gcc.dg/tree-ssa/pr71347.c
+++ b/gcc/testsuite/gcc.dg/tree-ssa/pr71347.c
@@ -14,4 +14,4 @@ void foo (void)
 }
 
 /* Load of X[i - i] can be omitted by reusing X[i] in previous iteration.  */
-/* { dg-final { scan-tree-dump-not ".* = MEM.*;" "optimized"} } */
+/* { dg-final { scan-tree-dump-not ".* = MEM.*;" "optimized" { xfail { ia64-*-* arm*-*-* m68k*-*-* sparc*-*-* } } } } */

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-07-15 19:41 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-07-14 16:11 [PATCH testsuite]XFAIL gcc.dg/tree-ssa/pr71347 on some targets Bin Cheng
2016-07-14 17:14 ` Jeff Law
2016-07-15 14:02   ` Bin.Cheng
2016-07-15 19:41     ` Jeff Law

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).