]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
testsuite: fix 'do-do' typos
authorSam James <sam@gentoo.org>
Wed, 14 Aug 2024 23:38:36 +0000 (00:38 +0100)
committerSam James <sam@gentoo.org>
Fri, 20 Sep 2024 05:11:28 +0000 (06:11 +0100)
Fix 'do-do' typos (should be 'dg-do'). No change in logs.

gcc/testsuite/ChangeLog:

* g++.dg/other/operator2.C: Fix dg-do directive.
* gcc.dg/Warray-bounds-67.c: Ditto.
* gcc.dg/cpp/builtin-macro-1.c: Ditto.
* gcc.dg/tree-ssa/builtin-snprintf-3.c: Ditto.
* obj-c++.dg/empty-private-1.mm: Ditto.

gcc/testsuite/g++.dg/other/operator2.C
gcc/testsuite/gcc.dg/Warray-bounds-67.c
gcc/testsuite/gcc.dg/cpp/builtin-macro-1.c
gcc/testsuite/gcc.dg/tree-ssa/builtin-snprintf-3.c
gcc/testsuite/obj-c++.dg/empty-private-1.mm

index 3587311271866273b8a2510f6bc90dfc31e26aee..cd477a64c3f9427c7e817a26452806025ba57b79 100644 (file)
@@ -1,5 +1,5 @@
 // PR c++/28852
-// { do-do compile }
+// { dg-do compile }
 
 struct A
 {
index a9b9ff7d2ab25c76d9396943a64c324e9418add5..354fb89467e35c665ed81b2085bf9afc41766f7b 100644 (file)
@@ -2,7 +2,7 @@
    of a struct that's a member of either a struct or a union.  Both
    are obviously undefined but GCC relies on these hacks so the test
    verifies that -Warray-bounds doesn't trigger for it.
-   { do-do compile }
+   { dg-do compile }
    { dg-options "-O2 -Wall" } */
 
 
index 0f950038d1bd52dfbc24b8b9369507c2adcbc97f..6fc3c2602785a0a94926cf8ac46150b480324a1d 100644 (file)
@@ -5,7 +5,7 @@
    the function-like macro expansion it's part of.
 
    { dg-do run }
-   { do-options -no-integrated-cpp }  */
+   { dg-options -no-integrated-cpp }  */
 
 #include <assert.h>
 
index e481955ab7326d39a4da0514761c723fd8839295..00ea752c1974a3ddce6ad4d5078987d82bbdb894 100644 (file)
@@ -1,6 +1,6 @@
 /* Verify the lower and upper bounds of floating directives with
    precision whose range crosses zero.
-  { do-do compile }
+  { dg-do compile }
   { dg-options "-O2 -Wall -fdump-tree-optimized" } */
 
 static const double x = 1.23456789;
@@ -72,6 +72,6 @@ int test_g (int p)
   return n;
 }
 
-/* { dg-final { scan-tree-dump-times "snprintf" 4 "optimized"} }
-   { dg-final { scan-tree-dump-not "failure_range" "optimized"} }
-   { dg-final { scan-tree-dump-times "verify_" 8 "optimized"} } */
+/* { dg-final { scan-tree-dump-times "snprintf" 4 "optimized" } }
+   { dg-final { scan-tree-dump-not "failure_range" "optimized" } }
+   { dg-final { scan-tree-dump-times "verify_" 8 "optimized" } } */
index b8b90b07ecdaa02b3cfd371abbd6bb51a8b3fd1d..0bbec921b8ec1680f147ab5ef5caec2e29de5358 100644 (file)
@@ -1,6 +1,6 @@
 /* Test for no entry after @private token.  */
 
-/* { do-do compile } */
+/* { dg-do compile } */
 
 @interface foo
 {