public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r12-3446] Fix 'dg-do run' syntax in 'c-c++-common/auto-init-padding-{2, 3}.c'
@ 2021-09-10  9:32 Thomas Schwinge
  0 siblings, 0 replies; only message in thread
From: Thomas Schwinge @ 2021-09-10  9:32 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:5c5c2d86e520c3bf37368309b2fe932c88bdd14f

commit r12-3446-g5c5c2d86e520c3bf37368309b2fe932c88bdd14f
Author: Thomas Schwinge <thomas@codesourcery.com>
Date:   Fri Sep 10 11:26:50 2021 +0200

    Fix 'dg-do run' syntax in 'c-c++-common/auto-init-padding-{2,3}.c'
    
    Fix-up for recent commit a25e0b5e6ac8a77a71c229e0a7b744603365b0e9
     "Add -ftrivial-auto-var-init option and uninitialized variable attribute".
    
            gcc/testsuite/
            * c-c++-common/auto-init-padding-2.c: Fix 'dg-do run' syntax.
            * c-c++-common/auto-init-padding-3.c: Likewise.

Diff:
---
 gcc/testsuite/c-c++-common/auto-init-padding-2.c | 2 +-
 gcc/testsuite/c-c++-common/auto-init-padding-3.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/gcc/testsuite/c-c++-common/auto-init-padding-2.c b/gcc/testsuite/c-c++-common/auto-init-padding-2.c
index e2b50dc5ae8..462f5aeab91 100644
--- a/gcc/testsuite/c-c++-common/auto-init-padding-2.c
+++ b/gcc/testsuite/c-c++-common/auto-init-padding-2.c
@@ -1,7 +1,7 @@
 /* To test that the compiler can fill all the paddings to zeroes for the 
    structures when the auto variable is partially initialized,  fully 
    initialized, or not initialized for -ftrivial-auto-var-init=zero.  */
-/* { dg-do run} */
+/* { dg-do run } */
 /* { dg-options "-ftrivial-auto-var-init=zero" } */
 
 /* Structure with no padding. */
diff --git a/gcc/testsuite/c-c++-common/auto-init-padding-3.c b/gcc/testsuite/c-c++-common/auto-init-padding-3.c
index e2c48c002c9..22770142a95 100644
--- a/gcc/testsuite/c-c++-common/auto-init-padding-3.c
+++ b/gcc/testsuite/c-c++-common/auto-init-padding-3.c
@@ -1,7 +1,7 @@
 /* To test that the compiler can fill all the paddings to zeroes for the 
    structures when the auto variable is partially initialized,  fully 
    initialized, or not initialized for -ftrivial-auto-var-init=pattern.  */
-/* { dg-do run} */
+/* { dg-do run } */
 /* { dg-options "-ftrivial-auto-var-init=pattern" } */
 
 /* Structure with no padding. */


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-09-10  9:32 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-10  9:32 [gcc r12-3446] Fix 'dg-do run' syntax in 'c-c++-common/auto-init-padding-{2, 3}.c' Thomas Schwinge

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).