Hi, On some arm processors, the offset supported in addressing modes is very small. As a result, the dozens of address induction variables will be grouped into several groups, rather than only one as on armv7/8. This patch refines scanning string to avoid test failure on such processors.
It's an obvious change, and test acts as expected. So is it OK? I will commit it in next 24 hours if there is no objection. Thanks, bin 2015-06-02 Bin Cheng <bin.ch...@arm.com> PR tree-optimization/65447 * gcc.dg/tree-ssa/pr65447.c: Increase searching number.
Index: gcc/testsuite/gcc.dg/tree-ssa/pr65447.c =================================================================== --- gcc/testsuite/gcc.dg/tree-ssa/pr65447.c (revision 223794) +++ gcc/testsuite/gcc.dg/tree-ssa/pr65447.c (working copy) @@ -50,5 +50,5 @@ void foo (double *p) } /* We should groups address type IV uses. */ -/* { dg-final { scan-tree-dump-not "\\nuse 2\\n" "ivopts" } } */ +/* { dg-final { scan-tree-dump-not "\\nuse 4\\n" "ivopts" } } */ /* { dg-final { cleanup-tree-dump "ivopts" } } */