public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r12-7935] [nvptx, testsuite] Fix typo in gcc.target/nvptx/march.c
@ 2022-03-31  9:03 Tom de Vries
  0 siblings, 0 replies; only message in thread
From: Tom de Vries @ 2022-03-31  9:03 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:90533de067d12159b3fbc847e5397033384f7484

commit r12-7935-g90533de067d12159b3fbc847e5397033384f7484
Author: Tom de Vries <tdevries@suse.de>
Date:   Thu Mar 31 09:28:32 2022 +0200

    [nvptx, testsuite] Fix typo in gcc.target/nvptx/march.c
    
    The dg-options line in gcc.target/nvptx/march.c:
    ...
    /* { dg-options "-march=sm_30"} */
    ...
    currently doesn't have any effect because it's missing a space between '"' and
    '}'.
    
    Fix this by adding the missing space.
    
    Tested on nvptx.
    
    gcc/testsuite/ChangeLog:
    
    2022-03-31  Tom de Vries  <tdevries@suse.de>
    
            * gcc.target/nvptx/march.c: Add missing space in dg-options line.

Diff:
---
 gcc/testsuite/gcc.target/nvptx/march.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gcc/testsuite/gcc.target/nvptx/march.c b/gcc/testsuite/gcc.target/nvptx/march.c
index ec91f21c903..d1dd715798c 100644
--- a/gcc/testsuite/gcc.target/nvptx/march.c
+++ b/gcc/testsuite/gcc.target/nvptx/march.c
@@ -1,4 +1,4 @@
-/* { dg-options "-march=sm_30"} */
+/* { dg-options "-march=sm_30" } */
 
 #include "main.c"


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

only message in thread, other threads:[~2022-03-31  9:03 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-31  9:03 [gcc r12-7935] [nvptx, testsuite] Fix typo in gcc.target/nvptx/march.c Tom de Vries

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).