diff options
author | Jakub Jelinek <jakub@redhat.com> | 2024-12-02 14:51:57 +0100 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2024-12-02 14:51:57 +0100 |
commit | a3e5fbcd055596e1496854326ffd17572e3ae42d (patch) | |
tree | 9e3834dad212ee112d76ba959cd4d66b47614d52 /gcc/testsuite/gcc.target/riscv | |
parent | cde7ce0628f66a5d03cc97c70d4695e6f2acd4db (diff) | |
download | gcc-a3e5fbcd055596e1496854326ffd17572e3ae42d.zip gcc-a3e5fbcd055596e1496854326ffd17572e3ae42d.tar.gz gcc-a3e5fbcd055596e1496854326ffd17572e3ae42d.tar.bz2 |
Add trailing newlines where needed
Especially in the recent CRC commits, I see
\ No newline at end of file
in almost every second file. So, I went through
the diff between r15-1 and current trunk in gcc/, looking for
additions of such problems which don't intentional (e.g.
Wtrailing-whitespace* tests had it there intentionally) and
just added the missing newline elsewhere.
2024-12-02 Jakub Jelinek <jakub@redhat.com>
gcc/
* config/mingw/mingw-stdint.h: Add newline at the end of the file.
* config/mingw/winnt-dll.cc: Likewise.
* sym-exec/sym-exec-expression.h: Likewise.
* sym-exec/sym-exec-expression.cc: Likewise.
* sym-exec/sym-exec-condition.cc: Likewise.
* sym-exec/sym-exec-expr-is-a-helper.h: Likewise.
* sym-exec/sym-exec-condition.h: Likewise.
* hwint.cc: Likewise.
* crc-verification.cc: Likewise.
* sarif-spec-urls.def: Likewise.
gcc/testsuite/
* g++.target/aarch64/pr94515-2.C: Add newline at the end of the file.
* g++.target/aarch64/return_address_sign_ab_exception.C: Likewise.
* gcc.target/arm/thumb2-switchstatement.c: Likewise.
* gcc.target/riscv/rvv/base/vssubu-2.c: Likewise.
* gcc.target/riscv/rvv/base/vssubu-1.c: Likewise.
* gcc.target/riscv/and-shift32.c: Likewise.
* gcc.target/riscv/crc-builtin-zbc32.c: Likewise.
* gcc.target/riscv/and-shift64.c: Likewise.
* gcc.target/riscv/xtheadbb-extu-4.c: Likewise.
* gcc.target/i386/avx2-bf16-vec-absneg.c: Likewise.
* gcc.target/i386/avx512f-bf16-vec-absneg.c: Likewise.
* gcc.target/aarch64/cpunative/native_cpu_26.c: Likewise.
* gcc.target/aarch64/cpunative/info_26: Likewise.
* gcc.target/aarch64/cpunative/info_25: Likewise.
* g++.dg/contracts/pr116607.C: Likewise.
* gfortran.dg/pr108889.f90: Likewise.
* gcc.dg/crc-not-crc-14.c: Likewise.
* gcc.dg/crc-from-fedora-packages-13.c: Likewise.
* gcc.dg/crc-not-crc-25.c: Likewise.
* gcc.dg/crc-from-fedora-packages-29.c: Likewise.
* gcc.dg/crc-from-fedora-packages-10.c: Likewise.
* gcc.dg/crc-side-instr-10.c: Likewise.
* gcc.dg/crc-side-instr-1.c: Likewise.
* gcc.dg/crc-side-instr-3.c: Likewise.
* gcc.dg/crc-side-instr-2.c: Likewise.
* gcc.dg/crc-not-crc-17.c: Likewise.
* gcc.dg/crc-from-fedora-packages-7.c: Likewise.
* gcc.dg/crc-side-instr-12.c: Likewise.
* gcc.dg/crc-side-instr-16.c: Likewise.
* gcc.dg/crc-not-crc-16.c: Likewise.
* gcc.dg/crc-from-fedora-packages-4.c: Likewise.
* gcc.dg/crc-not-crc-20.c: Likewise.
* gcc.dg/crc-linux-3.c: Likewise.
* gcc.dg/crc-from-fedora-packages-27.c: Likewise.
* gcc.dg/pr109393.c: Likewise.
* gcc.dg/crc-side-instr-7.c: Likewise.
* gcc.dg/crc-side-instr-4.c: Likewise.
* gcc.dg/tree-ssa/ldexp.c: Likewise.
* gcc.dg/tree-ssa/pr114760-2.c: Likewise.
* gcc.dg/tree-ssa/pr114760-1.c: Likewise.
* gcc.dg/crc-side-instr-15.c: Likewise.
* gcc.dg/crc-side-instr-9.c: Likewise.
* gcc.dg/crc-not-crc-26.c: Likewise.
* gcc.dg/crc-side-instr-8.c: Likewise.
* gcc.dg/crc-not-crc-23.c: Likewise.
* gcc.dg/crc-not-crc-19.c: Likewise.
* gcc.dg/crc-from-fedora-packages-22.c: Likewise.
* gcc.dg/crc-from-fedora-packages-16.c: Likewise.
* gcc.dg/crc-side-instr-11.c: Likewise.
* gcc.dg/crc-from-fedora-packages-5.c: Likewise.
* gcc.dg/crc-not-crc-22.c: Likewise.
* gcc.dg/crc-side-instr-17.c: Likewise.
* gcc.dg/crc-linux-4.c: Likewise.
* gcc.dg/crc-side-instr-14.c: Likewise.
* gcc.dg/crc-not-crc-18.c: Likewise.
* gcc.dg/crc-from-fedora-packages-23.c: Likewise.
* gcc.dg/crc-not-crc-21.c: Likewise.
* gcc.dg/crc-linux-2.c: Likewise.
* gcc.dg/crc-from-fedora-packages-1.c: Likewise.
* gcc.dg/crc-from-fedora-packages-30.c: Likewise.
* gcc.dg/torture/crc-11.c: Likewise.
* gcc.dg/torture/crc-27.c: Likewise.
* gcc.dg/torture/crc-2.c: Likewise.
* gcc.dg/torture/crc-24.c: Likewise.
* gcc.dg/torture/crc-crc8.c: Likewise.
* gcc.dg/torture/crc-crc8-data8-xorOustideFor.c: Likewise.
* gcc.dg/torture/crc-16.c: Likewise.
* gcc.dg/torture/crc-crc64-data64.c: Likewise.
* gcc.dg/crc-from-fedora-packages-32.c: Likewise.
* gcc.dg/crc-side-instr-6.c: Likewise.
* gcc.dg/crc-side-instr-5.c: Likewise.
* gcc.dg/crc-side-instr-13.c: Likewise.
* gcc.dg/crc-not-crc-15.c: Likewise.
* gcc.dg/crc-not-crc-13.c: Likewise.
* gcc.dg/crc-from-fedora-packages-6.c: Likewise.
* gcc.dg/crc-not-crc-24.c: Likewise.
Diffstat (limited to 'gcc/testsuite/gcc.target/riscv')
6 files changed, 6 insertions, 6 deletions
diff --git a/gcc/testsuite/gcc.target/riscv/and-shift32.c b/gcc/testsuite/gcc.target/riscv/and-shift32.c index 38ee63e..2fb1b98 100644 --- a/gcc/testsuite/gcc.target/riscv/and-shift32.c +++ b/gcc/testsuite/gcc.target/riscv/and-shift32.c @@ -10,4 +10,4 @@ int foo(int a) /* { dg-final { scan-assembler-times "\\sandi\\s" 1 } } */ /* { dg-final { scan-assembler-times "\\sslli\\s" 1 } } */ /* { dg-final { scan-assembler-not "\\sli\\s" } } */ -/* { dg-final { scan-assembler-not "\\saddi\\s" } } */
\ No newline at end of file +/* { dg-final { scan-assembler-not "\\saddi\\s" } } */ diff --git a/gcc/testsuite/gcc.target/riscv/and-shift64.c b/gcc/testsuite/gcc.target/riscv/and-shift64.c index ccfaedd..dad0b9a 100644 --- a/gcc/testsuite/gcc.target/riscv/and-shift64.c +++ b/gcc/testsuite/gcc.target/riscv/and-shift64.c @@ -10,4 +10,4 @@ long long foo(long long a) /* { dg-final { scan-assembler-times "\\sandi\\s" 1 } } */ /* { dg-final { scan-assembler-times "\\sslli\\s" 1 } } */ /* { dg-final { scan-assembler-not "\\sli\\s" } } */ -/* { dg-final { scan-assembler-not "\\saddi\\s" } } */
\ No newline at end of file +/* { dg-final { scan-assembler-not "\\saddi\\s" } } */ diff --git a/gcc/testsuite/gcc.target/riscv/crc-builtin-zbc32.c b/gcc/testsuite/gcc.target/riscv/crc-builtin-zbc32.c index 20d7d25..3eb4be7 100644 --- a/gcc/testsuite/gcc.target/riscv/crc-builtin-zbc32.c +++ b/gcc/testsuite/gcc.target/riscv/crc-builtin-zbc32.c @@ -18,4 +18,4 @@ int16_t crc16_data16 () return __builtin_crc16_data16 (0x1234, 0x3214, 0x1021); } -/* { dg-final { scan-assembler-times "clmul\t" 6 } } */
\ No newline at end of file +/* { dg-final { scan-assembler-times "clmul\t" 6 } } */ diff --git a/gcc/testsuite/gcc.target/riscv/rvv/base/vssubu-1.c b/gcc/testsuite/gcc.target/riscv/rvv/base/vssubu-1.c index f19b42a..606854b 100644 --- a/gcc/testsuite/gcc.target/riscv/rvv/base/vssubu-1.c +++ b/gcc/testsuite/gcc.target/riscv/rvv/base/vssubu-1.c @@ -8,4 +8,4 @@ vuint64m1_t test_vssubu_vx_u64m1(vuint64m1_t op1) return __riscv_vssubu_vx_u64m1(op1,0,0); } -/* { dg-final { scan-assembler-not {\tvssubu} } } */
\ No newline at end of file +/* { dg-final { scan-assembler-not {\tvssubu} } } */ diff --git a/gcc/testsuite/gcc.target/riscv/rvv/base/vssubu-2.c b/gcc/testsuite/gcc.target/riscv/rvv/base/vssubu-2.c index cb4e4f4..78abd09 100644 --- a/gcc/testsuite/gcc.target/riscv/rvv/base/vssubu-2.c +++ b/gcc/testsuite/gcc.target/riscv/rvv/base/vssubu-2.c @@ -8,4 +8,4 @@ vuint64m1_t test_vssubu_vx_u64m1(vuint64m1_t op1) return __riscv_vssubu_vx_u64m1(op1,0,0); } -/* { dg-final { scan-assembler-not {\tvssubu} } } */
\ No newline at end of file +/* { dg-final { scan-assembler-not {\tvssubu} } } */ diff --git a/gcc/testsuite/gcc.target/riscv/xtheadbb-extu-4.c b/gcc/testsuite/gcc.target/riscv/xtheadbb-extu-4.c index 41d3fc1..803bbe7 100644 --- a/gcc/testsuite/gcc.target/riscv/xtheadbb-extu-4.c +++ b/gcc/testsuite/gcc.target/riscv/xtheadbb-extu-4.c @@ -14,4 +14,4 @@ void g() d.f = e[2] >> (b << ~4194303 + 4194332) - 58096371; } -/* { dg-final { scan-assembler-not {th.extu\t[ax][0-9]+,[ax][0-9]+,37,13} } } */
\ No newline at end of file +/* { dg-final { scan-assembler-not {th.extu\t[ax][0-9]+,[ax][0-9]+,37,13} } } */ |