diff mbox

[testsuite] Run tree-ssa/restrict-4.c without fipa-icf

Message ID 562A035B.6080007@mentor.com
State New
Headers show

Commit Message

Tom de Vries Oct. 23, 2015, 9:52 a.m. UTC
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
diff mbox

Patch

Run tree-ssa/restrict-4.c without fipa-icf

2015-10-23  Tom de Vries  <tom@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