]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
testsuite: fix typos in comments
authorSam James <sam@gentoo.org>
Thu, 27 Mar 2025 13:23:23 +0000 (13:23 +0000)
committerSam James <sam@gentoo.org>
Thu, 27 Mar 2025 13:29:47 +0000 (13:29 +0000)
This fixes some 'scan-tree-dump-times' (vs '-time') typos and one or
two others I noticed in passing.

gcc/testsuite/ChangeLog:

* g++.dg/warn/Winvalid-memory-model.C: Fix typo in comment.
* gcc.dg/builtin-dynamic-object-size-19.c: Ditto.
* gcc.dg/builtin-object-size-19.c: Ditto.
* gcc.dg/strlenopt-40.c: Ditto.
* gcc.dg/strlenopt-44.c: Ditto.
* gcc.dg/strlenopt-45.c: Ditto.
* gcc.dg/strlenopt-50.c: Ditto.
* gcc.dg/strlenopt-51.c: Ditto.
* gcc.dg/strlenopt-52.c: Ditto.
* gcc.dg/strlenopt-53.c: Ditto.
* gcc.dg/strlenopt-54.c: Ditto.
* gcc.dg/strlenopt-55.c: Ditto.
* gcc.dg/strlenopt-58.c: Ditto.
* gcc.dg/strlenopt-59.c: Ditto.
* gcc.dg/strlenopt-62.c: Ditto.
* gcc.dg/strlenopt-65.c: Ditto.
* gcc.dg/strlenopt-70.c: Ditto.
* gcc.dg/strlenopt-72.c: Ditto.
* gcc.dg/strlenopt-73.c: Ditto.
* gcc.dg/strlenopt-77.c: Ditto.
* gcc.dg/strlenopt-82.c: Ditto.
* gcc.dg/tree-ssa/builtin-snprintf-4.c: Ditto.
* gcc.dg/tree-ssa/builtin-snprintf-6.c: Ditto.
* gcc.dg/tree-ssa/builtin-snprintf-7.c: Ditto.
* gcc.dg/tree-ssa/builtin-sprintf-10.c: Ditto.
* gcc.dg/tree-ssa/builtin-sprintf-9.c: Ditto.
* gcc.dg/tree-ssa/phi-opt-value-5.c: Ditto.
* lib/multiline.exp: Ditto.
* lib/target-supports.exp: Ditto.

29 files changed:
gcc/testsuite/g++.dg/warn/Winvalid-memory-model.C
gcc/testsuite/gcc.dg/builtin-dynamic-object-size-19.c
gcc/testsuite/gcc.dg/builtin-object-size-19.c
gcc/testsuite/gcc.dg/strlenopt-40.c
gcc/testsuite/gcc.dg/strlenopt-44.c
gcc/testsuite/gcc.dg/strlenopt-45.c
gcc/testsuite/gcc.dg/strlenopt-50.c
gcc/testsuite/gcc.dg/strlenopt-51.c
gcc/testsuite/gcc.dg/strlenopt-52.c
gcc/testsuite/gcc.dg/strlenopt-53.c
gcc/testsuite/gcc.dg/strlenopt-54.c
gcc/testsuite/gcc.dg/strlenopt-55.c
gcc/testsuite/gcc.dg/strlenopt-58.c
gcc/testsuite/gcc.dg/strlenopt-59.c
gcc/testsuite/gcc.dg/strlenopt-62.c
gcc/testsuite/gcc.dg/strlenopt-65.c
gcc/testsuite/gcc.dg/strlenopt-70.c
gcc/testsuite/gcc.dg/strlenopt-72.c
gcc/testsuite/gcc.dg/strlenopt-73.c
gcc/testsuite/gcc.dg/strlenopt-77.c
gcc/testsuite/gcc.dg/strlenopt-82.c
gcc/testsuite/gcc.dg/tree-ssa/builtin-snprintf-4.c
gcc/testsuite/gcc.dg/tree-ssa/builtin-snprintf-6.c
gcc/testsuite/gcc.dg/tree-ssa/builtin-snprintf-7.c
gcc/testsuite/gcc.dg/tree-ssa/builtin-sprintf-10.c
gcc/testsuite/gcc.dg/tree-ssa/builtin-sprintf-9.c
gcc/testsuite/gcc.dg/tree-ssa/phi-opt-value-5.c
gcc/testsuite/lib/multiline.exp
gcc/testsuite/lib/target-supports.exp

index 5357d540e503dac6196b22683bdb27b67e58dbc1..0ef2c75dee76fabe178a26a33cd91f49cb30a91e 100644 (file)
@@ -1,6 +1,6 @@
 /* PR middle-end/99612 - Missing warning on incorrect memory order without
    -Wsystem-headers
-   Verify warings for basic atomic functions with no optimization.
+   Verify warnings for basic atomic functions with no optimization.
    { dg-do compile { target c++11 } }
    { dg-options "-O0 -Wall" } */
 
index 44141a386072bea8fa48d5ff015be91d1cb52938..950466b8e5f48c57f7e7e7a0b91bd86f2ce96af7 100644 (file)
@@ -20,7 +20,7 @@ typedef __SIZE_TYPE__ size_t;
 /* Macro to emit a call to function named
    call_in_true_branch_not_eliminated_on_line_NNN()
    for each call that's expected to be eliminated.  The dg-final
-   scan-tree-dump-time directive at the bottom of the test verifies
+   scan-tree-dump-times directive at the bottom of the test verifies
    that no such call appears in output.  */
 #define ELIM(expr)                                                     \
   if (!(expr)) FAIL (in_true_branch_not_eliminated); else (void)0
index 1aab1efb77070ba8ddf8e2d287a12adaa31a6387..090d42222eda9fff307e723affe29ae723eb58d6 100644 (file)
@@ -17,7 +17,7 @@ typedef __SIZE_TYPE__ size_t;
 /* Macro to emit a call to function named
    call_in_true_branch_not_eliminated_on_line_NNN()
    for each call that's expected to be eliminated.  The dg-final
-   scan-tree-dump-time directive at the bottom of the test verifies
+   scan-tree-dump-times directive at the bottom of the test verifies
    that no such call appears in output.  */
 #define ELIM(expr)                                                     \
   if (!(expr)) FAIL (in_true_branch_not_eliminated); else (void)0
index 7a97ebb8fe5be4b9e9ebd2d81238e9b63a4fd6e2..3e61c71274f3a913ceb8043c3d6cf72459c4213b 100644 (file)
@@ -19,7 +19,7 @@
 /* Macros to emit a call to funcation named
      call_in_{true,false}_branch_not_eliminated_on_line_NNN()
    for each call that's expected to be eliminated.  The dg-final
-   scan-tree-dump-time directive at the bottom of the test verifies
+   scan-tree-dump-times directive at the bottom of the test verifies
    that no such call appears in output.  */
 #define ELIM_TRUE(expr) \
   if (!(expr)) FAIL (in_true_branch_not_eliminated); else (void)0
@@ -30,7 +30,7 @@
 /* Macro to emit a call to a function named
      call_made_in_{true,false}_branch_on_line_NNN()
    for each call that's expected to be retained.  The dg-final
-   scan-tree-dump-time directive at the bottom of the test verifies
+   scan-tree-dump-times directive at the bottom of the test verifies
    that the expected number of both kinds of calls appears in output
    (a pair for each line with the invocation of the KEEP() macro.  */
 #define KEEP(expr)                             \
index 0af78acaf1d1e40402c80345f15a9d985064eafb..239695c08918066dc764b1b888a41b1a130fc3ca 100644 (file)
@@ -17,7 +17,7 @@
 /* Macro to emit a call to funcation named
      call_in_true_branch_not_eliminated_on_line_NNN()
    for each call that's expected to be eliminated.  The dg-final
-   scan-tree-dump-time directive at the bottom of the test verifies
+   scan-tree-dump-times directive at the bottom of the test verifies
    that no such call appears in output.  */
 #define ASSERT_ELIM(expr)                                              \
   if (!(expr)) FAIL (in_true_branch_not_eliminated); else (void)0
@@ -25,7 +25,7 @@
 /* Macro to emit a call to a function named
      call_made_in_{true,false}_branch_on_line_NNN()
    for each call that's expected to be retained.  The dg-final
-   scan-tree-dump-time directive at the bottom of the test verifies
+   scan-tree-dump-times directive at the bottom of the test verifies
    that the expected number of both kinds of calls appears in output
    (a pair for each line with the invocation of the KEEP() macro.  */
 #define ASSERT_KEEP(expr)                      \
index 31c1e538f6ff28470d3f739d320159294c44ccca..61637b9601df4e6bf0e5b33db1580870ed328dd0 100644 (file)
@@ -26,7 +26,7 @@ extern size_t strnlen (const char *, size_t);
 /* Macro to emit a call to funcation named
      call_in_true_branch_not_eliminated_on_line_NNN()
    for each call that's expected to be eliminated.  The dg-final
-   scan-tree-dump-time directive at the bottom of the test verifies
+   scan-tree-dump-times directive at the bottom of the test verifies
    that no such call appears in output.  */
 #define ELIM(expr) \
   if (!(expr)) FAIL (in_true_branch_not_eliminated); else (void)0
@@ -34,7 +34,7 @@ extern size_t strnlen (const char *, size_t);
 /* Macro to emit a call to a function named
      call_made_in_{true,false}_branch_on_line_NNN()
    for each call that's expected to be retained.  The dg-final
-   scan-tree-dump-time directive at the bottom of the test verifies
+   scan-tree-dump-times directive at the bottom of the test verifies
    that the expected number of both kinds of calls appears in output
    (a pair for each line with the invocation of the KEEP() macro.  */
 #define KEEP(expr)                             \
index 8e7c9dbd93df14758d4d499f22f73fe8603040d8..b78ffba7c2de812e249ad645c6ace02bafb4b777 100644 (file)
@@ -17,7 +17,7 @@
 /* Macro to emit a call to funcation named
      call_in_true_branch_not_eliminated_on_line_NNN()
    for each call that's expected to be eliminated.  The dg-final
-   scan-tree-dump-time directive at the bottom of the test verifies
+   scan-tree-dump-times directive at the bottom of the test verifies
    that no such call appears in output.  */
 #define ELIM(expr) \
   if (!(expr)) FAIL (in_true_branch_not_eliminated); else (void)0
index 22a89385f5ef12152bc6949b8253e030092c3f2f..7b5d261323e09e2ded504cc2c33da108d2f0a656 100644 (file)
@@ -17,7 +17,7 @@
 /* Macro to emit a call to funcation named
      call_in_true_branch_not_eliminated_on_line_NNN()
    for each call that's expected to be eliminated.  The dg-final
-   scan-tree-dump-time directive at the bottom of the test verifies
+   scan-tree-dump-times directive at the bottom of the test verifies
    that no such call appears in output.  */
 #define ELIM(expr) \
   if (!(expr)) FAIL (in_true_branch_not_eliminated, __COUNTER__); else (void)0
index 97b3da7cd0e468897493cd423a5e547e425f6f77..29727ddaefaa3a7ef220505f589b6e15f15a3649 100644 (file)
@@ -16,7 +16,7 @@
 /* Macro to emit a call to funcation named
      call_in_true_branch_not_eliminated_on_line_NNN()
    for each call that's expected to be eliminated.  The dg-final
-   scan-tree-dump-time directive at the bottom of the test verifies
+   scan-tree-dump-times directive at the bottom of the test verifies
    that no such call appears in output.  */
 #define ELIM(expr) \
   if (!(expr)) FAIL (in_true_branch_not_eliminated); else (void)0
index 489c22b69372cd5695f8552715a296a274f4cf2e..298665c3e6d2a17e206582c13ce3c3ed620cab48 100644 (file)
@@ -17,7 +17,7 @@
 /* Macro to emit a call to funcation named
    call_in_true_branch_not_eliminated_on_line_NNN()
    for each call that's expected to be eliminated.  The dg-final
-   scan-tree-dump-time directive at the bottom of the test verifies
+   scan-tree-dump-times directive at the bottom of the test verifies
    that no such call appears in output.  */
 #define ELIM(expr)                                                     \
   if (!(expr)) FAIL (in_true_branch_not_eliminated); else (void)0
index d4e57ff62559212a8d3951fc9846b6f1f9087f1d..1044162b73eeeccead97d18f9a2fce0ef4c98efb 100644 (file)
@@ -16,7 +16,7 @@
 /* Macro to emit a call to function named
    call_in_true_branch_not_eliminated_on_line_NNN()
    for each call that's expected to be eliminated.  The dg-final
-   scan-tree-dump-time directive at the bottom of the test verifies
+   scan-tree-dump-times directive at the bottom of the test verifies
    that no such call appears in output.  */
 #define ELIM(expr)                                                     \
   if (!(expr)) FAIL (in_true_branch_not_eliminated); else (void)0
index ca89ecd3c53bac2e02c14521212afd3266cd7fd3..6b54db8b42f2ac00dc6b0ac58c032b734547556d 100644 (file)
@@ -157,7 +157,7 @@ const char ax_100_3[] = { '1', '2', '3', [100] = '\0' };
 /* Macro to emit a call to funcation named
    call_in_true_branch_not_eliminated_on_line_NNN()
    for each call that's expected to be eliminated.  The dg-final
-   scan-tree-dump-time directive at the bottom of the test verifies
+   scan-tree-dump-times directive at the bottom of the test verifies
    that no such call appears in output.  */
 #define ELIM(expr)                                                     \
   if (!(expr)) FAIL (in_true_branch_not_eliminated); else (void)0
index 034961cd81043db424b2388acb916ac9b157384e..6bfc389d4879706d0f7fde5362336ce71d0ec790 100644 (file)
@@ -24,7 +24,7 @@ extern void* memchr (const void*, int, size_t);
 /* Macro to emit a call to funcation named
    call_in_true_branch_not_eliminated_on_line_NNN()
    for each call that's expected to be eliminated.  The dg-final
-   scan-tree-dump-time directive at the bottom of the test verifies
+   scan-tree-dump-times directive at the bottom of the test verifies
    that no such call appears in output.  */
 #define ELIM(expr)                                                     \
   if (!(expr)) FAIL (in_true_branch_not_eliminated); else (void)0
index 9bacf8748765d26d6cc89c30d946ef40f53ed31d..58bb74b2a3f1b612ed728a4f1e1c98dce696a788 100644 (file)
@@ -20,7 +20,7 @@ extern __SIZE_TYPE__ strlen (const char*);
 /* Macros to emit a call to funcation named
      call_failed_to_be_eliminated_on_line_NNN()
    for each call that's expected to be eliminated.  The dg-final
-   scan-tree-dump-time directive at the bottom of the test verifies
+   scan-tree-dump-times directive at the bottom of the test verifies
    that no such call appears in output.  */
 #define ELIM(expr) \
   if ((expr)) FAIL (test_not_eliminated); else (void)0
index 0e09a7ab0e178c867cee7071c79a6c898ab64851..38edfdef5b34f73f292e06a9160b20a3d554c720 100644 (file)
@@ -21,7 +21,7 @@ typedef __INT32_TYPE__   int32_t;
 /* Macro to emit a call to funcation named
      call_in_true_branch_not_eliminated_on_line_NNN()
    for each call that's expected to be eliminated.  The dg-final
-   scan-tree-dump-time directive at the bottom of the test verifies
+   scan-tree-dump-times directive at the bottom of the test verifies
    that no such call appears in output.  */
 #define ELIM(expr) \
   if (!(expr)) FAIL (in_true_branch_not_eliminated, __COUNTER__); else (void)0
index 521d7ac2b42e41a0fb6b948b218f3ae3749a299a..23c69efa5bc6c065c3a17209cb82113a9e1155a1 100644 (file)
@@ -17,7 +17,7 @@
 /* Macro to emit a call to function named
      call_in_true_branch_not_eliminated_on_line_NNN()
    for each call that's expected to be eliminated.  The dg-final
-   scan-tree-dump-time directive at the bottom of the test verifies
+   scan-tree-dump-times directive at the bottom of the test verifies
    that no such call appears in output.  */
 #define ELIM_IF_TRUE(expr)                                             \
   if (!(expr)) FAIL (in_true_branch_not_eliminated); else (void)0
@@ -25,7 +25,7 @@
 /* Macro to emit a call to a function named
      call_made_in_{true,false}_branch_on_line_NNN()
    for each call that's expected to be retained.  The dg-final
-   scan-tree-dump-time directive at the bottom of the test verifies
+   scan-tree-dump-times directive at the bottom of the test verifies
    that the expected number of both kinds of calls appears in output
    (a pair for each line with the invocation of the KEEP() macro.  */
 #define TEST_KEEP(expr)                                \
index 0853023c3b6814ef35a53d76c6214f852fabf162..b2dac9af0639cb8474c25b944df53ef1cfb5a801 100644 (file)
@@ -28,7 +28,7 @@ typedef __UINT64_TYPE__  uint64_t;
 /* Macros to emit a call to function named
      call_failed_to_be_eliminated_on_line_NNN()
    for each call that's expected to be eliminated.  The dg-final
-   scan-tree-dump-time directive at the bottom of the test verifies
+   scan-tree-dump-times directive at the bottom of the test verifies
    that no such call appears in output.  */
 #define ELIM(expr)                                     \
   if ((expr)) FAIL (not_eliminated); else (void)0
index 9c00a95162f6515910ee07ae0ed4debebea0adaf..b1ae20d22415d1281990087eaec9f209ab7e737a 100644 (file)
@@ -26,7 +26,7 @@
 /* Macros to emit a call to function named
      call_failed_to_be_eliminated_on_line_NNN()
    for each call that's expected to be eliminated.  The dg-final
-   scan-tree-dump-time directive at the bottom of the test verifies
+   scan-tree-dump-times directive at the bottom of the test verifies
    that no such call appears in output.  */
 #define ELIM(expr)                                     \
   if ((expr)) FAIL (not_eliminated); else (void)0
index 6e15303dc3c6f375ec9a6413363c3b0b99d55214..f4392477eb23e3bba13fd698dc463557e0d181fa 100644 (file)
@@ -26,7 +26,7 @@
 /* Macros to emit a call to function named
      call_failed_to_be_eliminated_on_line_NNN()
    for each call that's expected to be eliminated.  The dg-final
-   scan-tree-dump-time directive at the bottom of the test verifies
+   scan-tree-dump-times directive at the bottom of the test verifies
    that no such call appears in output.  */
 #define ELIM(expr)                             \
   if ((expr)) FAIL (not_eliminated); else (void)0
index 76cd11d6ac1ada089091c69878efb853e35a0ad3..44d2bc6346158b894deed7ca063c77ba31035f3f 100644 (file)
@@ -17,7 +17,7 @@
 /* Macro to emit a call to function named
      call_in_true_branch_not_eliminated_on_line_NNN()
    for each call that's expected to be eliminated.  The dg-final
-   scan-tree-dump-time directive at the bottom of the test verifies
+   scan-tree-dump-times directive at the bottom of the test verifies
    that no such call appears in output.  */
 #define ASSERT_ELIM(expr)                                              \
   if (!!(expr)) FAIL (in_true_branch_not_eliminated); else (void)0
index 8070f6ccf30c8a1898ddcdc54748a4823c6215d6..e1e60f481965d263abb2cb4da3392f65389eef2f 100644 (file)
@@ -21,7 +21,7 @@
 /* Macro to emit a call to function named
      call_in_true_branch_not_eliminated_on_line_NNN()
    for each call that's expected to be eliminated.  The dg-final
-   scan-tree-dump-time directive at the bottom of the test verifies
+   scan-tree-dump-times directive at the bottom of the test verifies
    that no such call appears in output.  */
 #define ELIM(expr) \
   if (!(expr)) FAIL (in_true_branch_not_eliminated); else (void)0
@@ -29,7 +29,7 @@
 /* Macro to emit a call to a function named
      call_made_in_{true,false}_branch_on_line_NNN()
    for each call that's expected to be retained.  The dg-final
-   scan-tree-dump-time directive at the bottom of the test verifies
+   scan-tree-dump-times directive at the bottom of the test verifies
    that the expected number of both kinds of calls appears in output
    (a pair for each line with the invocation of the KEEP() macro.  */
 #define KEEP(expr)                             \
index 97a385e581da8c04208a317a992ca87b7f72efba..d25a960639927f6a125a34d5b14aa4b04c10e039 100644 (file)
@@ -26,7 +26,7 @@ extern int vsnprintf (char*, size_t, const char*, va_list);
 /* Macro to emit a call to function named
      call_in_true_branch_not_eliminated_on_line_NNN()
    for each expression that's expected to fold to false but that
-   GCC does not fold.  The dg-final scan-tree-dump-time directive
+   GCC does not fold.  The dg-final scan-tree-dump-times directive
    at the bottom of the test verifies that no such call appears
    in output.  */
 #define ELIM(expr)                                                     \
@@ -35,7 +35,7 @@ extern int vsnprintf (char*, size_t, const char*, va_list);
 /* Macro to emit a call to a function named
      call_made_in_{true,false}_branch_on_line_NNN()
    for each call that's expected to be retained.  The dg-final
-   scan-tree-dump-time directive at the bottom of the test verifies
+   scan-tree-dump-times directive at the bottom of the test verifies
    that the expected number of both kinds of calls appears in output
    (a pair for each line with the invocation of the KEEP() macro.  */
 #define KEEP(expr)                             \
index df09c819d8b1723957bb1f3ac330253bb33f553f..806a1f46fe20e0e0da1839d90a2b5df7117d4dd3 100644 (file)
@@ -23,7 +23,7 @@ int snprintf (char * restrict, size_t, const char *restrict, ...);
 /* Macro to emit a call to funcation named
    call_in_true_branch_not_eliminated_on_line_NNN()
    for each call that's expected to be eliminated.  The dg-final
-   scan-tree-dump-time directive at the bottom of the test verifies
+   scan-tree-dump-times directive at the bottom of the test verifies
    that no such call appears in output.  */
 #define ELIM(expr)                                                     \
   if (!(expr)) FAIL (in_true_branch_not_eliminated, __COUNTER__); else (void)0
index bf5072e955cfbeefe0dae36fb04448276fca8e00..f7cb2806edda59f0907f01fe81735aa4f8881b42 100644 (file)
@@ -25,7 +25,7 @@ void sink (void*, ...);
 /* Macro to emit a call to funcation named
    call_in_true_branch_not_eliminated_on_line_NNN()
    for each call that's expected to be eliminated.  The dg-final
-   scan-tree-dump-time directive at the bottom of the test verifies
+   scan-tree-dump-times directive at the bottom of the test verifies
    that no such call appears in output.  */
 #define VERIFY_ELIM(expr)                                              \
   if (!(expr)) FAIL (in_true_branch_not_eliminated, __COUNTER__); else (void)0
@@ -33,7 +33,7 @@ void sink (void*, ...);
 /* Macro to emit a call to a function named
      call_made_in_{true,false}_branch_on_line_NNN()
    for each call that's expected to be retained.  The dg-final
-   scan-tree-dump-time directive at the bottom of the test verifies
+   scan-tree-dump-times directive at the bottom of the test verifies
    that the expected number of both kinds of calls appears in output
    (a pair for each line with the invocation of the KEEP() macro.  */
 #define VERIFY_KEEP(expr)                      \
index 489af62a5ad3a6c668394e0b16eb338c8d2976b2..73e807fa135b307a24a1b2355f34fd761aef1659 100644 (file)
@@ -21,7 +21,7 @@ extern int snprintf (char*, size_t, const char*, ...);
 /* Macro to emit a call to funcation named
      call_in_true_branch_not_eliminated_on_line_NNN()
    for each call that's expected to be eliminated.  The dg-final
-   scan-tree-dump-time directive at the bottom of the test verifies
+   scan-tree-dump-times directive at the bottom of the test verifies
    that no such call appears in output.  */
 #define ELIM(expr) \
   if (!(expr)) FAIL (in_true_branch_not_eliminated); else (void)0
@@ -29,7 +29,7 @@ extern int snprintf (char*, size_t, const char*, ...);
 /* Macro to emit a call to a function named
      call_made_in_{true,false}_branch_on_line_NNN()
    for each call that's expected to be retained.  The dg-final
-   scan-tree-dump-time directive at the bottom of the test verifies
+   scan-tree-dump-times directive at the bottom of the test verifies
    that the expected number of both kinds of calls appears in output
    (a pair for each line with the invocation of the KEEP() macro.  */
 #define KEEP(expr)                             \
index 3be18c7b5dcdef5ab01cde2b966d121128eb6ac2..fca7800b1206703e47d6d01e6402887bcb88a091 100644 (file)
@@ -20,7 +20,7 @@ extern int snprintf (char*, size_t, const char*, ...);
 /* Macro to emit a call to funcation named
      call_in_true_branch_not_eliminated_on_line_NNN()
    for each expression that's expected to fold to false but that
-   GCC does not fold.  The dg-final scan-tree-dump-time directive
+   GCC does not fold.  The dg-final scan-tree-dump-times directive
    at the bottom of the test verifies that no such call appears
    in output.  */
 #define ELIM(expr)                                                     \
@@ -29,7 +29,7 @@ extern int snprintf (char*, size_t, const char*, ...);
 /* Macro to emit a call to a function named
      call_made_in_{true,false}_branch_on_line_NNN()
    for each call that's expected to be retained.  The dg-final
-   scan-tree-dump-time directive at the bottom of the test verifies
+   scan-tree-dump-times directive at the bottom of the test verifies
    that the expected number of both kinds of calls appears in output
    (a pair for each line with the invocation of the KEEP() macro.  */
 #define KEEP(expr)                             \
index 8062eb19b1136a03e6a8bb431669743f0938db5a..12ba475b24e2ca55a216df01199e5db0f14b7e82 100644 (file)
@@ -1,5 +1,5 @@
 /* { dg-do compile } */
-/* PR treee-optimization/114894 */
+/* PR tree-optimization/114894 */
 /* Phi-OPT should be able to optimize these without sinking being invoked. */
 /* { dg-options "-O -fdump-tree-phiopt2 -fdump-tree-phiopt3 -fdump-tree-optimized -fno-tree-sink" } */
 
index 22b5e0e9675f22b3dd49d71538c42962f3516c24..08fd9691a4af750f1007956575e061a382f59bb1 100644 (file)
@@ -17,7 +17,7 @@
 # Testing of multiline output
 
 # We have pre-existing testcases like this:
-#   |typedef struct _GMutex GMutex; // { dg-message "previously declared here"}
+#   |typedef struct _GMutex GMutex; // { dg-message "previously declared here" }
 # (using "|" here to indicate the start of a line),
 # generating output like this:
 #   |gcc/testsuite/g++.dg/diagnostic/wrong-tag-1.C:4:16: note: 'struct _GMutex' was previously declared here
@@ -27,7 +27,7 @@
 # To handle rich error-reporting, we want to be able to verify that we
 # get output like this:
 #   |gcc/testsuite/g++.dg/diagnostic/wrong-tag-1.C:4:16: note: 'struct _GMutex' was previously declared here
-#   | typedef struct _GMutex GMutex; // { dg-message "previously declared here"}
+#   | typedef struct _GMutex GMutex; // { dg-message "previously declared here" }
 #   |                ^~~~~~~
 # where the compiler's first line of output is as before, but in
 # which it then echoes the source lines, adding annotations.
index e90c090027e39375ae54cc7c68cfb000694ca12a..ee4138aa69714cbbbe88512647d97132f2c9272e 100644 (file)
@@ -2078,7 +2078,7 @@ proc check_effective_target_riscv_zvfh { } {
 
 # Return 1 if the target arch supports half float, 0 otherwise.
 # Note, this differs from the test performed by
-# /* dg-skip-if "" { *-*-* } { "*" } { "-march=rv*zfh*" } */
+# /* { dg-skip-if "" { *-*-* } { "*" } { "-march=rv*zfh*" } } */
 # in that it takes default behaviour into account.
 # Cache the result.