ivopt_mult_4.c: Explicitly check comparison on pointer should not be replaced.
gcc/testsuite * gcc.dg/tree-ssa/ivopt_mult_4.c: Explicitly check comparison on pointer should not be replaced. From-SVN: r248746
This commit is contained in:
parent
7f1b5019a5
commit
0e510edb0d
@ -1,3 +1,8 @@
|
||||
2017-05-31 Bin Cheng <bin.cheng@arm.com>
|
||||
|
||||
* gcc.dg/tree-ssa/ivopt_mult_4.c: Explicitly check comparison
|
||||
on pointer should not be replaced.
|
||||
|
||||
2017-05-31 Mikhail Maltsev <maltsevm@gmail.com>
|
||||
|
||||
PR testsuite/80580
|
||||
|
@ -1,6 +1,6 @@
|
||||
|
||||
/* { dg-do compile { target {{ i?86-*-* x86_64-*-* } && lp64 } } } */
|
||||
/* { dg-options "-O2 -m64 -fdump-tree-ivopts-details" } */
|
||||
/* { dg-options "-O2 -m64 -fdump-tree-optimized" } */
|
||||
|
||||
/* iv i's step 16 so its period is smaller than the max iterations
|
||||
* i.e. replacing if (p2 > p_limit2) with testing of i may result in
|
||||
@ -21,4 +21,4 @@ long foo(long* p, long* p2, int N1, int N2)
|
||||
return s;
|
||||
}
|
||||
|
||||
/* { dg-final { scan-tree-dump "Replacing exit test" "ivopts"} } */
|
||||
/* { dg-final { scan-tree-dump "if \\(.*p_limit2.*\\)" "optimized"} } */
|
||||
|
Loading…
x
Reference in New Issue
Block a user