Skip to content

Commit

Permalink
RISC-V/testsuite: Fix comment termination in pr105314.c
Browse files Browse the repository at this point in the history
Add terminating `/' character missing from one of the test harness
command clauses in pr105314.c.  This causes no issue with compilation
owing to another comment immediately following, but would cause a:

pr105314.c:3:1: warning: "/*" within comment [-Wcomment]

message if warnings were enabled.

	gcc/testsuite/
	* gcc.target/riscv/pr105314.c: Fix comment termination.
  • Loading branch information
maciej-w-rozycki committed Jan 10, 2024
1 parent 6c3365e commit 3353e7d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gcc/testsuite/gcc.target/riscv/pr105314.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* PR rtl-optimization/105314 */
/* { dg-do compile } *
/* { dg-do compile } */
/* { dg-options "-O2" } */
/* { dg-final { scan-assembler-not "\tbeq\t" } } */

Expand Down

0 comments on commit 3353e7d

Please sign in to comment.