Skip to content

Commit

Permalink
[nvptx, testsuite] Fix typo in gcc.target/nvptx/march.c
Browse files Browse the repository at this point in the history
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  <[email protected]>

	* gcc.target/nvptx/march.c: Add missing space in dg-options line.
  • Loading branch information
vries committed Mar 31, 2022
1 parent 97ad0b8 commit 90533de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gcc/testsuite/gcc.target/nvptx/march.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* { dg-options "-march=sm_30"} */
/* { dg-options "-march=sm_30" } */

#include "main.c"

Expand Down

0 comments on commit 90533de

Please sign in to comment.