From 442e3cd20cb9504e8c65815c8a8ad0cfa3e4efa8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torbj=C3=B6rn=20SVENSSON?= <torbjorn.svensson@foss.st.com> Date: Tue, 27 Aug 2024 12:53:37 +0200 Subject: [PATCH] testsuite: Fix ending of comment in test cases MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit gcc/testsuite/ChangeLog: * gcc.dg/pr108757-1.c: Fixed dg-comment. * gcc.dg/pr71071.c: Likewise. * gcc.dg/tree-ssa/noreturn-1.c: Likewise. * gcc.dg/tree-ssa/pr56727.c: Likewise. * gcc.target/arc/loop-2.cpp: Likewise. * gcc.target/arc/loop-3.c: Likewise. * gcc.target/arc/pr9001107555.c: Likewise. * gcc.target/arm/armv8_1m-fp16-move-1.c: Likewise. * gcc.target/arm/armv8_1m-fp32-move-1.c: Likewise. * gcc.target/arm/armv8_1m-fp64-move-1.c: Likewise. * gcc.target/i386/amxint8-asmatt-1.c: Likewise. * gcc.target/i386/amxint8-asmintel-1.c: Likewise. * gcc.target/i386/avx512bw-vpermt2w-1.c: Likewise. * gcc.target/i386/avx512vbmi-vpermt2b-1.c: Likewise. * gcc.target/i386/endbr_immediate.c: Likewise. * gcc.target/i386/pr96539.c: Likewise. * gcc.target/i386/sse2-pr98461-2.c: Likewise. * gcc.target/m68k/pr39726.c: Likewise. * gcc.target/m68k/pr52076-1.c: Likewise. * gcc.target/m68k/pr52076-2.c: Likewise. * gcc.target/nvptx/v2si-vec-set-extract.c: Likewise. Signed-off-by: Torbjörn SVENSSON <torbjorn.svensson@foss.st.com> --- gcc/testsuite/gcc.dg/pr108757-1.c | 2 +- gcc/testsuite/gcc.dg/pr71071.c | 2 +- gcc/testsuite/gcc.dg/tree-ssa/noreturn-1.c | 2 +- gcc/testsuite/gcc.dg/tree-ssa/pr56727.c | 2 +- gcc/testsuite/gcc.target/arc/loop-2.cpp | 2 +- gcc/testsuite/gcc.target/arc/loop-3.c | 2 +- gcc/testsuite/gcc.target/arc/pr9001107555.c | 2 +- gcc/testsuite/gcc.target/arm/armv8_1m-fp16-move-1.c | 2 +- gcc/testsuite/gcc.target/arm/armv8_1m-fp32-move-1.c | 2 +- gcc/testsuite/gcc.target/arm/armv8_1m-fp64-move-1.c | 2 +- gcc/testsuite/gcc.target/i386/amxint8-asmatt-1.c | 2 +- gcc/testsuite/gcc.target/i386/amxint8-asmintel-1.c | 2 +- gcc/testsuite/gcc.target/i386/avx512bw-vpermt2w-1.c | 2 +- gcc/testsuite/gcc.target/i386/avx512vbmi-vpermt2b-1.c | 2 +- gcc/testsuite/gcc.target/i386/endbr_immediate.c | 2 +- gcc/testsuite/gcc.target/i386/pr96539.c | 2 +- gcc/testsuite/gcc.target/i386/sse2-pr98461-2.c | 2 +- gcc/testsuite/gcc.target/m68k/pr39726.c | 2 +- gcc/testsuite/gcc.target/m68k/pr52076-1.c | 2 +- gcc/testsuite/gcc.target/m68k/pr52076-2.c | 2 +- gcc/testsuite/gcc.target/nvptx/v2si-vec-set-extract.c | 2 +- 21 files changed, 21 insertions(+), 21 deletions(-) diff --git a/gcc/testsuite/gcc.dg/pr108757-1.c b/gcc/testsuite/gcc.dg/pr108757-1.c index 7908f4bdcb8e..712dc4c30e92 100644 --- a/gcc/testsuite/gcc.dg/pr108757-1.c +++ b/gcc/testsuite/gcc.dg/pr108757-1.c @@ -13,6 +13,6 @@ typedef int INT; #define IMIN INT_MIN #include "pr108757.h" -/* { dg-final { scan-tree-dump-not " = x_\[0-9\]+\\(D\\) \\+ " "optimized" } } * +/* { dg-final { scan-tree-dump-not " = x_\[0-9\]+\\(D\\) \\+ " "optimized" } } */ /* { dg-final { scan-tree-dump-not " = x_\[0-9\]+\\(D\\) \\- " "optimized" } } */ /* { dg-final { scan-tree-dump-not " = b_\[0-9\]+ \\+ " "optimized" } } */ diff --git a/gcc/testsuite/gcc.dg/pr71071.c b/gcc/testsuite/gcc.dg/pr71071.c index 582f1f15a432..3e83dc9f1b7b 100644 --- a/gcc/testsuite/gcc.dg/pr71071.c +++ b/gcc/testsuite/gcc.dg/pr71071.c @@ -1,5 +1,5 @@ /* PR bootstrap/71071 */ -/* { dg-do compile } * +/* { dg-do compile } */ /* { dg-options "-O2" } */ struct S { unsigned b : 1; } a; diff --git a/gcc/testsuite/gcc.dg/tree-ssa/noreturn-1.c b/gcc/testsuite/gcc.dg/tree-ssa/noreturn-1.c index ae7ee42fabcb..35f3d9802175 100644 --- a/gcc/testsuite/gcc.dg/tree-ssa/noreturn-1.c +++ b/gcc/testsuite/gcc.dg/tree-ssa/noreturn-1.c @@ -1,4 +1,4 @@ -/* { dg-do compile } * +/* { dg-do compile } */ /* { dg-options "-O2 -fdump-tree-ssa -std=gnu11" } */ /* { dg-final { scan-tree-dump-times "__builtin_unreachable" 4 "ssa" } } */ diff --git a/gcc/testsuite/gcc.dg/tree-ssa/pr56727.c b/gcc/testsuite/gcc.dg/tree-ssa/pr56727.c index 3080ce183b8a..da2c9ab31f21 100644 --- a/gcc/testsuite/gcc.dg/tree-ssa/pr56727.c +++ b/gcc/testsuite/gcc.dg/tree-ssa/pr56727.c @@ -1,4 +1,4 @@ -/* { dg-do compile { target fpic } } * +/* { dg-do compile { target fpic } } */ /* { dg-require-alias "" } */ /* { dg-options "-O2 -fPIC -fdump-tree-optimized" } */ void do_not_optimize(int b) diff --git a/gcc/testsuite/gcc.target/arc/loop-2.cpp b/gcc/testsuite/gcc.target/arc/loop-2.cpp index d1dc917ba479..9cfb3274e213 100644 --- a/gcc/testsuite/gcc.target/arc/loop-2.cpp +++ b/gcc/testsuite/gcc.target/arc/loop-2.cpp @@ -1,4 +1,4 @@ -/* { dg-options "-O2" } * +/* { dg-options "-O2" } */ /* { dg-do assemble } */ /* This file fails to assemble if we forgot to increase the number of diff --git a/gcc/testsuite/gcc.target/arc/loop-3.c b/gcc/testsuite/gcc.target/arc/loop-3.c index ae0d6110f182..d97c6f76b095 100644 --- a/gcc/testsuite/gcc.target/arc/loop-3.c +++ b/gcc/testsuite/gcc.target/arc/loop-3.c @@ -1,6 +1,6 @@ /* { dg-do assemble } */ /* { dg-do compile } */ -/* { dg-options "-O2 -mno-sdata" } * +/* { dg-options "-O2 -mno-sdata" } */ /* This example will fail to assemble if the last instruction is a branch with delay slot. */ diff --git a/gcc/testsuite/gcc.target/arc/pr9001107555.c b/gcc/testsuite/gcc.target/arc/pr9001107555.c index 420fa835fa41..1598653e7882 100644 --- a/gcc/testsuite/gcc.target/arc/pr9001107555.c +++ b/gcc/testsuite/gcc.target/arc/pr9001107555.c @@ -1,4 +1,4 @@ -/* { dg-do assemble } * +/* { dg-do assemble } */ /* { dg-skip-if "" { ! { clmcpu } } } */ /* { dg-options "-O3 -funroll-loops -mno-sdata -mcpu=arc700" } */ diff --git a/gcc/testsuite/gcc.target/arm/armv8_1m-fp16-move-1.c b/gcc/testsuite/gcc.target/arm/armv8_1m-fp16-move-1.c index f5ab6e719f41..e6ed76870b49 100644 --- a/gcc/testsuite/gcc.target/arm/armv8_1m-fp16-move-1.c +++ b/gcc/testsuite/gcc.target/arm/armv8_1m-fp16-move-1.c @@ -2,7 +2,7 @@ /* { dg-options "-O -mfp16-format=ieee" } */ /* { dg-require-effective-target arm_v8_1m_mve_ok } */ /* { dg-add-options arm_v8_1m_mve } */ -/* { dg-additional-options "-mfloat-abi=hard" } * +/* { dg-additional-options "-mfloat-abi=hard" } */ /* { dg-final { check-function-bodies "**" "" } } */ /* diff --git a/gcc/testsuite/gcc.target/arm/armv8_1m-fp32-move-1.c b/gcc/testsuite/gcc.target/arm/armv8_1m-fp32-move-1.c index 2f62e8395451..d161cfebd920 100644 --- a/gcc/testsuite/gcc.target/arm/armv8_1m-fp32-move-1.c +++ b/gcc/testsuite/gcc.target/arm/armv8_1m-fp32-move-1.c @@ -2,7 +2,7 @@ /* { dg-options "-O" } */ /* { dg-require-effective-target arm_v8_1m_mve_ok } */ /* { dg-add-options arm_v8_1m_mve } */ -/* { dg-additional-options "-mfloat-abi=hard" } * +/* { dg-additional-options "-mfloat-abi=hard" } */ /* { dg-final { check-function-bodies "**" "" } } */ /* diff --git a/gcc/testsuite/gcc.target/arm/armv8_1m-fp64-move-1.c b/gcc/testsuite/gcc.target/arm/armv8_1m-fp64-move-1.c index d236f0826c30..39e8c4063247 100644 --- a/gcc/testsuite/gcc.target/arm/armv8_1m-fp64-move-1.c +++ b/gcc/testsuite/gcc.target/arm/armv8_1m-fp64-move-1.c @@ -2,7 +2,7 @@ /* { dg-options "-O" } */ /* { dg-require-effective-target arm_v8_1m_mve_ok } */ /* { dg-add-options arm_v8_1m_mve } */ -/* { dg-additional-options "-mfloat-abi=hard" } * +/* { dg-additional-options "-mfloat-abi=hard" } */ /* { dg-final { check-function-bodies "**" "" } } */ /* diff --git a/gcc/testsuite/gcc.target/i386/amxint8-asmatt-1.c b/gcc/testsuite/gcc.target/i386/amxint8-asmatt-1.c index 1842c234be8a..c785c54c67fd 100644 --- a/gcc/testsuite/gcc.target/i386/amxint8-asmatt-1.c +++ b/gcc/testsuite/gcc.target/i386/amxint8-asmatt-1.c @@ -1,7 +1,7 @@ /* { dg-do compile { target { ! ia32 } } } */ /* { dg-options "-O2 -mamx-int8" } */ /* { dg-final { scan-assembler "tdpbssd\[ \\t]+\[^\n\]*%tmm3+\[^\n\]*%tmm2+\[^\n\]*%tmm1" } } */ -/* { dg-final { scan-assembler "tdpbsud\[ \\t]+\[^\n\]*%tmm3+\[^\n\]*%tmm2+\[^\n\]*%tmm1" } } * +/* { dg-final { scan-assembler "tdpbsud\[ \\t]+\[^\n\]*%tmm3+\[^\n\]*%tmm2+\[^\n\]*%tmm1" } } */ /* { dg-final { scan-assembler "tdpbusd\[ \\t]+\[^\n\]*%tmm3+\[^\n\]*%tmm2+\[^\n\]*%tmm1" } } */ /* { dg-final { scan-assembler "tdpbuud\[ \\t]+\[^\n\]*%tmm3+\[^\n\]*%tmm2+\[^\n\]*%tmm1" } } */ #include <immintrin.h> diff --git a/gcc/testsuite/gcc.target/i386/amxint8-asmintel-1.c b/gcc/testsuite/gcc.target/i386/amxint8-asmintel-1.c index f8c376ae6c4a..abc98745a769 100644 --- a/gcc/testsuite/gcc.target/i386/amxint8-asmintel-1.c +++ b/gcc/testsuite/gcc.target/i386/amxint8-asmintel-1.c @@ -2,7 +2,7 @@ /* { dg-require-effective-target masm_intel } */ /* { dg-options "-O2 -mamx-int8 -masm=intel" } */ /* { dg-final { scan-assembler "tdpbssd\[ \\t]+\[^\n\]*%tmm1+\[^\n\]*%tmm2+\[^\n\]*%tmm3" } } */ -/* { dg-final { scan-assembler "tdpbsud\[ \\t]+\[^\n\]*%tmm1+\[^\n\]*%tmm2+\[^\n\]*%tmm3" } } * +/* { dg-final { scan-assembler "tdpbsud\[ \\t]+\[^\n\]*%tmm1+\[^\n\]*%tmm2+\[^\n\]*%tmm3" } } */ /* { dg-final { scan-assembler "tdpbusd\[ \\t]+\[^\n\]*%tmm1+\[^\n\]*%tmm2+\[^\n\]*%tmm3" } } */ /* { dg-final { scan-assembler "tdpbuud\[ \\t]+\[^\n\]*%tmm1+\[^\n\]*%tmm2+\[^\n\]*%tmm3" } } */ #include <immintrin.h> diff --git a/gcc/testsuite/gcc.target/i386/avx512bw-vpermt2w-1.c b/gcc/testsuite/gcc.target/i386/avx512bw-vpermt2w-1.c index a734cb600ce6..94c95f8c3266 100644 --- a/gcc/testsuite/gcc.target/i386/avx512bw-vpermt2w-1.c +++ b/gcc/testsuite/gcc.target/i386/avx512bw-vpermt2w-1.c @@ -1,7 +1,7 @@ /* { dg-do compile } */ /* { dg-options "-mavx512bw -mavx512vl -O2" } */ /* { dg-final { scan-assembler-times "vperm\[ti]2w\[ \\t\]+\[^\{\n\]*%zmm\[0-9\]+(?:\n|\[ \\t\]+#)" 1 } } */ -/* { dg-final { scan-assembler-times "vperm\[ti]2w\[ \\t\]+\[^\{\n\]*%ymm\[0-9\]+(?:\n|\[ \\t\]+#)" 1 } } * +/* { dg-final { scan-assembler-times "vperm\[ti]2w\[ \\t\]+\[^\{\n\]*%ymm\[0-9\]+(?:\n|\[ \\t\]+#)" 1 } } */ /* { dg-final { scan-assembler-times "vperm\[ti]2w\[ \\t\]+\[^\{\n\]*%xmm\[0-9\]+(?:\n|\[ \\t\]+#)" 1 } } */ /* { dg-final { scan-assembler-times "vperm\[ti]2w\[ \\t\]+\[^\{\n\]*%zmm\[0-9\]+\{%k\[1-7\]\}(?:\n|\[ \\t\]+#)" 1 } } */ /* { dg-final { scan-assembler-times "vperm\[ti]2w\[ \\t\]+\[^\{\n\]*%ymm\[0-9\]+\{%k\[1-7\]\}(?:\n|\[ \\t\]+#)" 1 } } */ diff --git a/gcc/testsuite/gcc.target/i386/avx512vbmi-vpermt2b-1.c b/gcc/testsuite/gcc.target/i386/avx512vbmi-vpermt2b-1.c index 24a0b9e3fce3..24640d5be3ad 100644 --- a/gcc/testsuite/gcc.target/i386/avx512vbmi-vpermt2b-1.c +++ b/gcc/testsuite/gcc.target/i386/avx512vbmi-vpermt2b-1.c @@ -1,7 +1,7 @@ /* { dg-do compile } */ /* { dg-options "-mavx512vbmi -mavx512vl -O2" } */ /* { dg-final { scan-assembler-times "vperm\[ti]2b\[ \\t\]+\[^\n\]*%zmm\[0-9\]+" 3 } } */ -/* { dg-final { scan-assembler-times "vperm\[ti]2b\[ \\t\]+\[^\n\]*%ymm\[0-9\]+" 3 } } * +/* { dg-final { scan-assembler-times "vperm\[ti]2b\[ \\t\]+\[^\n\]*%ymm\[0-9\]+" 3 } } */ /* { dg-final { scan-assembler-times "vperm\[ti]2b\[ \\t\]+\[^\n\]*%xmm\[0-9\]+" 3 } } */ /* { dg-final { scan-assembler-times "vperm\[ti]2b\[ \\t\]+\[^\n\]*%zmm\[0-9\]+\{%k\[1-7\]\}\[^\{\]" 1 } } */ /* { dg-final { scan-assembler-times "vperm\[ti]2b\[ \\t\]+\[^\n\]*%ymm\[0-9\]+\{%k\[1-7\]\}\[^\{\]" 1 } } */ diff --git a/gcc/testsuite/gcc.target/i386/endbr_immediate.c b/gcc/testsuite/gcc.target/i386/endbr_immediate.c index 3015512aa0e4..0aa97a9a5a15 100644 --- a/gcc/testsuite/gcc.target/i386/endbr_immediate.c +++ b/gcc/testsuite/gcc.target/i386/endbr_immediate.c @@ -2,7 +2,7 @@ /* { dg-do compile } */ /* { dg-options "-fcf-protection -O2" } */ /* { dg-final { scan-assembler-not "$-81915917" { target { ia32 } } } } */ -/* { dg-final { scan-assembler-not "$-98693133" { target { ! ia32 } } } } * +/* { dg-final { scan-assembler-not "$-98693133" { target { ! ia32 } } } } */ /* { dg-final { scan-assembler-not "$-423883778574778368" { target { ! ia32 } } } } */ /* { dg-final { scan-assembler "\[ \t\]*-81915917" { target { ia32 } } } } */ /* { dg-final { scan-assembler "\[ \t\]*-98693133" { target { ! ia32 } } } } */ diff --git a/gcc/testsuite/gcc.target/i386/pr96539.c b/gcc/testsuite/gcc.target/i386/pr96539.c index 696929be0af2..cafcfda19b92 100644 --- a/gcc/testsuite/gcc.target/i386/pr96539.c +++ b/gcc/testsuite/gcc.target/i386/pr96539.c @@ -1,5 +1,5 @@ /* PR rtl-optimization/96539 */ -/* { dg-do compile } * +/* { dg-do compile } */ /* { dg-options "-Os" } */ /* The need to restore the PIC register prevents PLT tail-calls on ia32, so S has to be copied to call baz. */ diff --git a/gcc/testsuite/gcc.target/i386/sse2-pr98461-2.c b/gcc/testsuite/gcc.target/i386/sse2-pr98461-2.c index 330272c69bc9..6b2523236695 100644 --- a/gcc/testsuite/gcc.target/i386/sse2-pr98461-2.c +++ b/gcc/testsuite/gcc.target/i386/sse2-pr98461-2.c @@ -3,7 +3,7 @@ /* { dg-options "-O2 -msse2 -mno-sse3 -masm=att" } */ /* { dg-final { scan-assembler-times "\tpmovmskb\t" 3 } } */ /* { dg-final { scan-assembler-not "\tmovzwl" } } */ -/* { dg-final { scan-assembler-times "\tnotl" 1 } } * +/* { dg-final { scan-assembler-times "\tnotl" 1 } } */ /* { dg-final { scan-assembler-times "\txorl" 1 } } */ #include <immintrin.h> diff --git a/gcc/testsuite/gcc.target/m68k/pr39726.c b/gcc/testsuite/gcc.target/m68k/pr39726.c index 94d41ba21599..e79f11167064 100644 --- a/gcc/testsuite/gcc.target/m68k/pr39726.c +++ b/gcc/testsuite/gcc.target/m68k/pr39726.c @@ -1,4 +1,4 @@ -/* { dg-do assemble } /* +/* { dg-do assemble } */ /* { dg-options "-O2 -fomit-frame-pointer" } */ /* { dg-final { object-size text <= 228 } } */ diff --git a/gcc/testsuite/gcc.target/m68k/pr52076-1.c b/gcc/testsuite/gcc.target/m68k/pr52076-1.c index 86df0dcae43f..dd3614dfc6a2 100644 --- a/gcc/testsuite/gcc.target/m68k/pr52076-1.c +++ b/gcc/testsuite/gcc.target/m68k/pr52076-1.c @@ -1,4 +1,4 @@ -/* { dg-do assemble } /* +/* { dg-do assemble } */ /* { dg-options "-Os -fomit-frame-pointer -m68040" } */ /* { dg-final { object-size text <= 72 } } */ diff --git a/gcc/testsuite/gcc.target/m68k/pr52076-2.c b/gcc/testsuite/gcc.target/m68k/pr52076-2.c index 30c6991839cc..ddfec38db453 100644 --- a/gcc/testsuite/gcc.target/m68k/pr52076-2.c +++ b/gcc/testsuite/gcc.target/m68k/pr52076-2.c @@ -1,4 +1,4 @@ -/* { dg-do assemble } /* +/* { dg-do assemble } */ /* { dg-options "-Os -fomit-frame-pointer -m68040" } */ /* { dg-final { object-size text <= 30 } } */ diff --git a/gcc/testsuite/gcc.target/nvptx/v2si-vec-set-extract.c b/gcc/testsuite/gcc.target/nvptx/v2si-vec-set-extract.c index a0709e50718a..ab213411e61e 100644 --- a/gcc/testsuite/gcc.target/nvptx/v2si-vec-set-extract.c +++ b/gcc/testsuite/gcc.target/nvptx/v2si-vec-set-extract.c @@ -19,7 +19,7 @@ foo2 (unsigned int a, unsigned int b) } /* { dg-final { scan-assembler "mov.u32.*\\.x;" } } */ -/* { dg-final { scan-assembler "mov.u32.*\\.y;" } } * +/* { dg-final { scan-assembler "mov.u32.*\\.y;" } } */ /* { dg-final { scan-assembler "mov.u32\[\t\]%r\[0-9\]\[0-9\]*\\.x, " } } */ /* { dg-final { scan-assembler "mov.u32\[\t\]%r\[0-9\]\[0-9\]*\\.y, " } } */ -- GitLab