[gcc r13-6785] testsuite: Remove obsolete comments [PR108898]

Jakub Jelinek jakub@gcc.gnu.org
Tue Mar 21 12:44:11 GMT 2023


https://gcc.gnu.org/g:49a8bce43cdc1d1b48efa5eeb2a4097cfca1dc22

commit r13-6785-g49a8bce43cdc1d1b48efa5eeb2a4097cfca1dc22
Author: Jakub Jelinek <jakub@redhat.com>
Date:   Tue Mar 21 13:42:51 2023 +0100

    testsuite: Remove obsolete comments [PR108898]
    
    On Tue, Mar 21, 2023 at 12:35:19PM +0000, Andrew Stubbs wrote:
    > >   /* Ensure the the in-branch simd clones are used on targets that support them.
    > >      Some targets use another call for the epilogue loops.  */
    > > -/* { dg-final { scan-tree-dump-times {[\n\r] [^\n]* = foo\.simdclone} 2 "vect" { target { ! aarch64*-*-* } } } } */
    > > -/* { dg-final { scan-tree-dump-times {[\n\r] [^\n]* = foo\.simdclone} 3 "vect" { target aarch64*-*-* } } } */
    > > +/* { dg-final { scan-tree-dump-times {[\n\r] [^\n]* = foo\.simdclone} 2 "vect" } } */
    >
    > I suppose those comments are now obsolete.
    
    Oops, fixed thusly.
    
    2023-03-21  Jakub Jelinek  <jakub@redhat.com>
    
            PR testsuite/108898
            * gcc.dg/vect/vect-simd-clone-16.c: Remove parts of comment mentioning
            epilogue loops.
            * gcc.dg/vect/vect-simd-clone-17.c: Likewise.
            * gcc.dg/vect/vect-simd-clone-18.c: Likewise.

Diff:
---
 gcc/testsuite/gcc.dg/vect/vect-simd-clone-16.c | 3 +--
 gcc/testsuite/gcc.dg/vect/vect-simd-clone-17.c | 3 +--
 gcc/testsuite/gcc.dg/vect/vect-simd-clone-18.c | 3 +--
 3 files changed, 3 insertions(+), 6 deletions(-)

diff --git a/gcc/testsuite/gcc.dg/vect/vect-simd-clone-16.c b/gcc/testsuite/gcc.dg/vect/vect-simd-clone-16.c
index 36c0a977b65..3ff1cfee059 100644
--- a/gcc/testsuite/gcc.dg/vect/vect-simd-clone-16.c
+++ b/gcc/testsuite/gcc.dg/vect/vect-simd-clone-16.c
@@ -80,8 +80,7 @@ main ()
   return 0;
 }
 
-/* Ensure the the in-branch simd clones are used on targets that support them.
-   Some targets use another call for the epilogue loops.  */
+/* Ensure the the in-branch simd clones are used on targets that support them.  */
 /* { dg-final { scan-tree-dump-times {[\n\r] [^\n]* = foo\.simdclone} 2 "vect" } } */
 
 /* The LTO test produces two dump files and we scan the wrong one.  */
diff --git a/gcc/testsuite/gcc.dg/vect/vect-simd-clone-17.c b/gcc/testsuite/gcc.dg/vect/vect-simd-clone-17.c
index 6616ca6a74a..803e0f25d45 100644
--- a/gcc/testsuite/gcc.dg/vect/vect-simd-clone-17.c
+++ b/gcc/testsuite/gcc.dg/vect/vect-simd-clone-17.c
@@ -80,8 +80,7 @@ main ()
   return 0;
 }
 
-/* Ensure the the in-branch simd clones are used on targets that support them.
-   Some targets use another call for the epilogue loops.  */
+/* Ensure the the in-branch simd clones are used on targets that support them.  */
 /* { dg-final { scan-tree-dump-times {[\n\r] [^\n]* = foo\.simdclone} 2 "vect" } } */
 
 /* The LTO test produces two dump files and we scan the wrong one.  */
diff --git a/gcc/testsuite/gcc.dg/vect/vect-simd-clone-18.c b/gcc/testsuite/gcc.dg/vect/vect-simd-clone-18.c
index 20f76037880..81b478c0206 100644
--- a/gcc/testsuite/gcc.dg/vect/vect-simd-clone-18.c
+++ b/gcc/testsuite/gcc.dg/vect/vect-simd-clone-18.c
@@ -80,8 +80,7 @@ main ()
   return 0;
 }
 
-/* Ensure the the in-branch simd clones are used on targets that support them.
-   Some targets use another call for the epilogue loops.  */
+/* Ensure the the in-branch simd clones are used on targets that support them.  */
 /* { dg-final { scan-tree-dump-times {[\n\r] [^\n]* = foo\.simdclone} 2 "vect" } } */
 
 /* The LTO test produces two dump files and we scan the wrong one.  */


More information about the Gcc-cvs mailing list