]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
testsuite: fix 'dg-do-compile' typos
authorSam James <sam@gentoo.org>
Tue, 30 Jul 2024 20:44:12 +0000 (21:44 +0100)
committerSam James <sam@gentoo.org>
Wed, 31 Jul 2024 15:09:53 +0000 (16:09 +0100)
We want 'dg-do compile', not 'dg-do-compile'. Fix that.

PR target/69194
PR c++/92024
PR c++/110057
* c-c++-common/Wshadow-1.c: Fix 'dg-do compile' typo.
* g++.dg/tree-ssa/devirt-array-destructor-1.C: Likewise.
* g++.dg/tree-ssa/devirt-array-destructor-2.C: Likewise.
* gcc.target/arm/pr69194.c: Likewise.

gcc/testsuite/c-c++-common/Wshadow-1.c
gcc/testsuite/g++.dg/tree-ssa/devirt-array-destructor-1.C
gcc/testsuite/g++.dg/tree-ssa/devirt-array-destructor-2.C
gcc/testsuite/gcc.target/arm/pr69194.c

index 4d1edf07f00224d99ce94ab3a75719bd8dfdcd0b..3cd99e9087ec9ab855a4a8037868bbc6fcce850c 100644 (file)
@@ -1,4 +1,4 @@
-/* { dg-do-compile } */
+/* { dg-do compile } */
 /* { dg-additional-options "-Wshadow=local -Wno-shadow=compatible-local" } */
 int c;
 void foo(int *c, int *d)   /* { dg-bogus   "Wshadow" } */
index ce8dc2a57cd7cd5de928c93fa79bd9a3c7957153..eed9a7c17698f1a9a4fd71816e9f8a00432b662c 100644 (file)
@@ -1,5 +1,5 @@
 // PR c++/110057
-/* { dg-do-compile } */
+/* { dg-do compile } */
 /* Virtual calls should be devirtualized because we know dynamic type of object in array at compile time */
 /* { dg-options "-O3 -fdump-tree-optimized -fno-inline"  } */
 
index 6b44dc1a4eea934829a62f146a8c48b7c6788ec7..448f3739700f4bf819d53da44602c27a3039c5e8 100644 (file)
@@ -1,5 +1,5 @@
 // PR c++/110057
-/* { dg-do-compile } */
+/* { dg-do compile } */
 /* Virtual calls should be devirtualized because we know dynamic type of object in array at compile time */
 /* { dg-options "-O3 -fdump-tree-optimized -fno-inline"  } */
 
index 477d5f92c8ec169ce5719e8583d436698c47117b..dc1b0d306c2b6cbadf612a070b660c524b2d4790 100644 (file)
@@ -1,5 +1,5 @@
 /* PR target/69194 */
-/* { dg-do-compile } */
+/* { dg-do compile } */
 /* { dg-require-effective-target arm_neon_ok } */
 /* { dg-options "-O2" } */
 /* { dg-add-options arm_neon } */