[gcc r12-6588] testsuite: fix dh-warning typo.

Martin Liska marxin@gcc.gnu.org
Fri Jan 14 15:15:57 GMT 2022


https://gcc.gnu.org/g:0dd4283a4be8407a8ab720a913c84a21f3ece615

commit r12-6588-g0dd4283a4be8407a8ab720a913c84a21f3ece615
Author: Martin Liska <mliska@suse.cz>
Date:   Fri Jan 14 16:15:35 2022 +0100

    testsuite: fix dh-warning typo.
    
    gcc/testsuite/ChangeLog:
    
            * c-c++-common/Walloca-larger-than.c: Fix typo.

Diff:
---
 gcc/testsuite/c-c++-common/Walloca-larger-than.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gcc/testsuite/c-c++-common/Walloca-larger-than.c b/gcc/testsuite/c-c++-common/Walloca-larger-than.c
index 464ea242a7a..e7851eabb46 100644
--- a/gcc/testsuite/c-c++-common/Walloca-larger-than.c
+++ b/gcc/testsuite/c-c++-common/Walloca-larger-than.c
@@ -16,6 +16,6 @@ void warn_alloca_too_large (void)
 {
   sink (alloca (1));
   sink (alloca (128));
-  sink (alloca (129));    // { dh-warning "\\\[-Walloca-larger-than" }
-  sink (alloca (1024));   // { dh-warning "\\\[-Walloca-larger-than" }
+  sink (alloca (129));    // { dg-warning "\\\[-Walloca-larger-than" }
+  sink (alloca (1024));   // { dg-warning "\\\[-Walloca-larger-than" }
 }


More information about the Gcc-cvs mailing list