aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorMartin Liska <mliska@suse.cz>2022-01-14 16:15:35 +0100
committerMartin Liska <mliska@suse.cz>2022-01-14 16:15:35 +0100
commit0dd4283a4be8407a8ab720a913c84a21f3ece615 (patch)
tree8488fe58df4ad93ec552e54093e881bff6e3a07c /gcc
parentffb7d4b2b76746e4189979f9d27d80be2195308a (diff)
downloadgcc-0dd4283a4be8407a8ab720a913c84a21f3ece615.zip
gcc-0dd4283a4be8407a8ab720a913c84a21f3ece615.tar.gz
gcc-0dd4283a4be8407a8ab720a913c84a21f3ece615.tar.bz2
testsuite: fix dh-warning typo.
gcc/testsuite/ChangeLog: * c-c++-common/Walloca-larger-than.c: Fix typo.
Diffstat (limited to 'gcc')
-rw-r--r--gcc/testsuite/c-c++-common/Walloca-larger-than.c4
1 files 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 464ea24..e7851ea 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" }
}