Commit 8bdfec38 by Richard Guenther Committed by Richard Biener

forwprop-11.c: Adjust and un-XFAIL.

2011-05-23  Richard Guenther  <rguenther@suse.de>

	* gcc.dg/tree-ssa/forwprop-11.c: Adjust and un-XFAIL.

From-SVN: r174069
parent e6d944b2
2011-05-23 Richard Guenther <rguenther@suse.de> 2011-05-23 Richard Guenther <rguenther@suse.de>
* gcc.dg/tree-ssa/forwprop-11.c: Adjust and un-XFAIL.
2011-05-23 Richard Guenther <rguenther@suse.de>
PR tree-optimization/40874 PR tree-optimization/40874
* g++.dg/tree-ssa/pr40874.C: New testcase. * g++.dg/tree-ssa/pr40874.C: New testcase.
......
/* { dg-do compile } */ /* { dg-do compile } */
/* { dg-require-effective-target int32plus } */
/* { dg-options "-O -fdump-tree-forwprop1" } */ /* { dg-options "-O -fdump-tree-forwprop1" } */
int f(int *p, int n) int f(int *p, int n)
...@@ -15,5 +16,5 @@ int g(int *p, int n) ...@@ -15,5 +16,5 @@ int g(int *p, int n)
return q[-1]; return q[-1];
} }
/* { dg-final { scan-tree-dump-times "= \\\(\\\*a_..\\\)\\\[1\\\];" 2 "forwprop1" { xfail *-*-* } } } */ /* { dg-final { scan-tree-dump-times "= MEM\\\[\\\(int \\\*\\\)a_.. \\\+ 4B\\\];" 2 "forwprop1" } } */
/* { dg-final { cleanup-tree-dump "forwprop1" } } */ /* { dg-final { cleanup-tree-dump "forwprop1" } } */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment