ssa-dse-30.c: Correct test to look for memmove that bcopy is expected to be transform...
authorMartin Sebor <msebor@redhat.com>
Fri, 14 Jul 2017 16:16:23 +0000 (16:16 +0000)
committerMartin Sebor <msebor@gcc.gnu.org>
Fri, 14 Jul 2017 16:16:23 +0000 (10:16 -0600)
gcc/testsuite/ChangeLog:

* gcc.dg/tree-ssa/ssa-dse-30.c: Correct test to look for memmove
that bcopy is expected to be transformed to.

From-SVN: r250209

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/tree-ssa/ssa-dse-30.c

index 4bdeeca32135491e85ae48230755869bf2ee7436..aa4fb1de2932f6bae541d81d2707fdea9a734fb8 100644 (file)
@@ -1,3 +1,8 @@
+2017-07-14  Martin Sebor  <msebor@redhat.com>
+
+       * gcc.dg/tree-ssa/ssa-dse-30.c: Correct test to look for memmove
+       that bcopy is expected to be transformed to.
+
 2017-07-14  David Malcolm  <dmalcolm@redhat.com>
 
        * g++.dg/cpp0x/missing-initializer_list-include.C: New test case.
index ece8cb2a80ca88ebe3fb3dfa79ea023048f2cb01..1d1fe82fda02f67e1b824b8cbf5ffd8bae48487f 100644 (file)
@@ -8,7 +8,7 @@ void test_bcopy (const void *s)
 {
   char d[33];
 
-  /* Bcopy is transformed into memcpy and those calls are expanded
+  /* Bcopy is transformed into memmove and those calls are expanded
      inline in EVRP, before DSE runs, so this test doesn't actually
      verify that DSE does its job.  */
   __builtin_bcopy (s, d, sizeof d);
@@ -28,4 +28,4 @@ void test_bzero (void)
 }
 
 /* { dg-final { scan-tree-dump-times "builtin_memset" 1 "dse1" } } */
-/* { dg-final { scan-tree-dump-not "builtin_(bcopy|bzero|memcpy)" "dse1" } } */
+/* { dg-final { scan-tree-dump-not "builtin_(bcopy|bzero|memcpy|memmove)" "dse1" } } */