[gcc r14-7113] RISC-V/testsuite: Fix comment termination in pr105314.c

Maciej W. Rozycki macro@gcc.gnu.org
Wed Jan 10 16:39:33 GMT 2024


https://gcc.gnu.org/g:3353e7d28447f4591a752859ddea96b308561c0a

commit r14-7113-g3353e7d28447f4591a752859ddea96b308561c0a
Author: Maciej W. Rozycki <macro@embecosm.com>
Date:   Wed Jan 10 16:34:24 2024 +0000

    RISC-V/testsuite: Fix comment termination in pr105314.c
    
    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.

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

diff --git a/gcc/testsuite/gcc.target/riscv/pr105314.c b/gcc/testsuite/gcc.target/riscv/pr105314.c
index 7a54577e9a9..6b6a60788f5 100644
--- a/gcc/testsuite/gcc.target/riscv/pr105314.c
+++ b/gcc/testsuite/gcc.target/riscv/pr105314.c
@@ -1,5 +1,5 @@
 /* PR rtl-optimization/105314 */
-/* { dg-do compile } *
+/* { dg-do compile } */
 /* { dg-options "-O2" } */
 /* { dg-final { scan-assembler-not "\tbeq\t" } } */


More information about the Gcc-cvs mailing list