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 d126dc1..c68b9a3 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 effb052..e69e416 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"} } */