Hi,
tree-ssa/restrict-4.c (containing two functions) is currently run with
fipa-icf, and the body of one function is replaced by a call to the
other function. The test is currently xfailed, but fipa-icf makes it
more likely that the test would still fail if we would add the support
the test is testing for.
This patch ensures that tree-ssa/restrict-4.c is run without fipa-icf.
Committed as obvious.
Thanks,
- Tom
Run tree-ssa/restrict-4.c without fipa-icf
2015-10-23 Tom de Vries <t...@codesourcery.com>
* gcc.dg/tree-ssa/restrict-4.c: Add -fno-ipa-icf to dg-options.
---
gcc/testsuite/gcc.dg/tree-ssa/restrict-4.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gcc/testsuite/gcc.dg/tree-ssa/restrict-4.c b/gcc/testsuite/gcc.dg/tree-ssa/restrict-4.c
index e140be5..aa0a8d4 100644
--- a/gcc/testsuite/gcc.dg/tree-ssa/restrict-4.c
+++ b/gcc/testsuite/gcc.dg/tree-ssa/restrict-4.c
@@ -1,5 +1,5 @@
/* { dg-do compile } */
-/* { dg-options "-O2 -fdump-tree-optimized" } */
+/* { dg-options "-O2 -fdump-tree-optimized -fno-ipa-icf" } */
int
foo (int *x, int y)
--
1.9.1