ivopt_mult_4.c: Explicitly check comparison on pointer should not be replaced.
authorBin Cheng <bin.cheng@arm.com>
Wed, 31 May 2017 16:20:32 +0000 (16:20 +0000)
committerBin Cheng <amker@gcc.gnu.org>
Wed, 31 May 2017 16:20:32 +0000 (16:20 +0000)
gcc/testsuite
* gcc.dg/tree-ssa/ivopt_mult_4.c: Explicitly check comparison
on pointer should not be replaced.

From-SVN: r248746

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/tree-ssa/ivopt_mult_4.c

index d126dc1a361b6dc484b42ad6589a2c272958f9ed..c68b9a37d0debdd879b2e557c89d60c76264359b 100644 (file)
@@ -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
index effb052f07c5cdab2d57a61f44fc81ac765f0047..e69e4163c5e37e318ac556c40f5b55f31acd7f81 100644 (file)
@@ -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"} } */