diff mbox series

[COMMITTED] testsuite: fix 'do-do' typos

Message ID 9964813217c11bf2ba2f2747397e6a65024229f3.1726809049.git.sam@gentoo.org
State New
Headers show
Series [COMMITTED] testsuite: fix 'do-do' typos | expand

Commit Message

Sam James Sept. 20, 2024, 5:10 a.m. UTC
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.
---
Pushed as obvious.

 gcc/testsuite/g++.dg/other/operator2.C             | 2 +-
 gcc/testsuite/gcc.dg/Warray-bounds-67.c            | 2 +-
 gcc/testsuite/gcc.dg/cpp/builtin-macro-1.c         | 2 +-
 gcc/testsuite/gcc.dg/tree-ssa/builtin-snprintf-3.c | 8 ++++----
 gcc/testsuite/obj-c++.dg/empty-private-1.mm        | 2 +-
 5 files changed, 8 insertions(+), 8 deletions(-)
diff mbox series

Patch

diff --git a/gcc/testsuite/g++.dg/other/operator2.C b/gcc/testsuite/g++.dg/other/operator2.C
index 358731127186..cd477a64c3f9 100644
--- a/gcc/testsuite/g++.dg/other/operator2.C
+++ b/gcc/testsuite/g++.dg/other/operator2.C
@@ -1,5 +1,5 @@ 
 // PR c++/28852
-// { do-do compile }
+// { dg-do compile }
 
 struct A
 {
diff --git a/gcc/testsuite/gcc.dg/Warray-bounds-67.c b/gcc/testsuite/gcc.dg/Warray-bounds-67.c
index a9b9ff7d2ab2..354fb89467e3 100644
--- a/gcc/testsuite/gcc.dg/Warray-bounds-67.c
+++ b/gcc/testsuite/gcc.dg/Warray-bounds-67.c
@@ -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" } */
 
 
diff --git a/gcc/testsuite/gcc.dg/cpp/builtin-macro-1.c b/gcc/testsuite/gcc.dg/cpp/builtin-macro-1.c
index 0f950038d1bd..6fc3c2602785 100644
--- a/gcc/testsuite/gcc.dg/cpp/builtin-macro-1.c
+++ b/gcc/testsuite/gcc.dg/cpp/builtin-macro-1.c
@@ -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>
 
diff --git a/gcc/testsuite/gcc.dg/tree-ssa/builtin-snprintf-3.c b/gcc/testsuite/gcc.dg/tree-ssa/builtin-snprintf-3.c
index e481955ab732..00ea752c1974 100644
--- a/gcc/testsuite/gcc.dg/tree-ssa/builtin-snprintf-3.c
+++ b/gcc/testsuite/gcc.dg/tree-ssa/builtin-snprintf-3.c
@@ -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" } } */
diff --git a/gcc/testsuite/obj-c++.dg/empty-private-1.mm b/gcc/testsuite/obj-c++.dg/empty-private-1.mm
index b8b90b07ecda..0bbec921b8ec 100644
--- a/gcc/testsuite/obj-c++.dg/empty-private-1.mm
+++ b/gcc/testsuite/obj-c++.dg/empty-private-1.mm
@@ -1,6 +1,6 @@ 
 /* Test for no entry after @private token.  */
 
-/* { do-do compile } */
+/* { dg-do compile } */
 
 @interface foo
 {