From a3e5fbcd055596e1496854326ffd17572e3ae42d Mon Sep 17 00:00:00 2001 From: Jakub Jelinek <jakub@redhat.com> Date: Mon, 2 Dec 2024 14:51:57 +0100 Subject: [PATCH] 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. --- gcc/config/mingw/mingw-stdint.h | 2 +- gcc/config/mingw/winnt-dll.cc | 2 +- gcc/crc-verification.cc | 2 +- gcc/hwint.cc | 2 +- gcc/sarif-spec-urls.def | 2 +- gcc/sym-exec/sym-exec-condition.cc | 2 +- gcc/sym-exec/sym-exec-condition.h | 2 +- gcc/sym-exec/sym-exec-expr-is-a-helper.h | 2 +- gcc/sym-exec/sym-exec-expression.cc | 2 +- gcc/sym-exec/sym-exec-expression.h | 2 +- gcc/testsuite/g++.dg/contracts/pr116607.C | 2 +- gcc/testsuite/g++.target/aarch64/pr94515-2.C | 2 +- .../g++.target/aarch64/return_address_sign_ab_exception.C | 2 +- gcc/testsuite/gcc.dg/crc-from-fedora-packages-1.c | 2 +- gcc/testsuite/gcc.dg/crc-from-fedora-packages-10.c | 2 +- gcc/testsuite/gcc.dg/crc-from-fedora-packages-13.c | 2 +- gcc/testsuite/gcc.dg/crc-from-fedora-packages-16.c | 2 +- gcc/testsuite/gcc.dg/crc-from-fedora-packages-22.c | 2 +- gcc/testsuite/gcc.dg/crc-from-fedora-packages-23.c | 2 +- gcc/testsuite/gcc.dg/crc-from-fedora-packages-27.c | 2 +- gcc/testsuite/gcc.dg/crc-from-fedora-packages-29.c | 2 +- gcc/testsuite/gcc.dg/crc-from-fedora-packages-30.c | 2 +- gcc/testsuite/gcc.dg/crc-from-fedora-packages-32.c | 2 +- gcc/testsuite/gcc.dg/crc-from-fedora-packages-4.c | 2 +- gcc/testsuite/gcc.dg/crc-from-fedora-packages-5.c | 2 +- gcc/testsuite/gcc.dg/crc-from-fedora-packages-6.c | 2 +- gcc/testsuite/gcc.dg/crc-from-fedora-packages-7.c | 2 +- gcc/testsuite/gcc.dg/crc-linux-2.c | 2 +- gcc/testsuite/gcc.dg/crc-linux-3.c | 2 +- gcc/testsuite/gcc.dg/crc-linux-4.c | 2 +- gcc/testsuite/gcc.dg/crc-not-crc-13.c | 2 +- gcc/testsuite/gcc.dg/crc-not-crc-14.c | 2 +- gcc/testsuite/gcc.dg/crc-not-crc-15.c | 2 +- gcc/testsuite/gcc.dg/crc-not-crc-16.c | 2 +- gcc/testsuite/gcc.dg/crc-not-crc-17.c | 2 +- gcc/testsuite/gcc.dg/crc-not-crc-18.c | 2 +- gcc/testsuite/gcc.dg/crc-not-crc-19.c | 2 +- gcc/testsuite/gcc.dg/crc-not-crc-20.c | 2 +- gcc/testsuite/gcc.dg/crc-not-crc-21.c | 2 +- gcc/testsuite/gcc.dg/crc-not-crc-22.c | 2 +- gcc/testsuite/gcc.dg/crc-not-crc-23.c | 2 +- gcc/testsuite/gcc.dg/crc-not-crc-24.c | 2 +- gcc/testsuite/gcc.dg/crc-not-crc-25.c | 2 +- gcc/testsuite/gcc.dg/crc-not-crc-26.c | 2 +- gcc/testsuite/gcc.dg/crc-side-instr-1.c | 2 +- gcc/testsuite/gcc.dg/crc-side-instr-10.c | 2 +- gcc/testsuite/gcc.dg/crc-side-instr-11.c | 2 +- gcc/testsuite/gcc.dg/crc-side-instr-12.c | 2 +- gcc/testsuite/gcc.dg/crc-side-instr-13.c | 2 +- gcc/testsuite/gcc.dg/crc-side-instr-14.c | 2 +- gcc/testsuite/gcc.dg/crc-side-instr-15.c | 2 +- gcc/testsuite/gcc.dg/crc-side-instr-16.c | 2 +- gcc/testsuite/gcc.dg/crc-side-instr-17.c | 2 +- gcc/testsuite/gcc.dg/crc-side-instr-2.c | 2 +- gcc/testsuite/gcc.dg/crc-side-instr-3.c | 2 +- gcc/testsuite/gcc.dg/crc-side-instr-4.c | 2 +- gcc/testsuite/gcc.dg/crc-side-instr-5.c | 2 +- gcc/testsuite/gcc.dg/crc-side-instr-6.c | 2 +- gcc/testsuite/gcc.dg/crc-side-instr-7.c | 2 +- gcc/testsuite/gcc.dg/crc-side-instr-8.c | 2 +- gcc/testsuite/gcc.dg/crc-side-instr-9.c | 2 +- gcc/testsuite/gcc.dg/pr109393.c | 2 +- gcc/testsuite/gcc.dg/torture/crc-11.c | 2 +- gcc/testsuite/gcc.dg/torture/crc-16.c | 2 +- gcc/testsuite/gcc.dg/torture/crc-2.c | 2 +- gcc/testsuite/gcc.dg/torture/crc-24.c | 2 +- gcc/testsuite/gcc.dg/torture/crc-27.c | 2 +- gcc/testsuite/gcc.dg/torture/crc-crc64-data64.c | 2 +- gcc/testsuite/gcc.dg/torture/crc-crc8-data8-xorOustideFor.c | 2 +- gcc/testsuite/gcc.dg/torture/crc-crc8.c | 2 +- gcc/testsuite/gcc.dg/tree-ssa/ldexp.c | 2 +- gcc/testsuite/gcc.dg/tree-ssa/pr114760-1.c | 2 +- gcc/testsuite/gcc.dg/tree-ssa/pr114760-2.c | 2 +- gcc/testsuite/gcc.target/aarch64/cpunative/info_25 | 2 +- gcc/testsuite/gcc.target/aarch64/cpunative/info_26 | 2 +- gcc/testsuite/gcc.target/aarch64/cpunative/native_cpu_26.c | 2 +- gcc/testsuite/gcc.target/arm/thumb2-switchstatement.c | 2 +- gcc/testsuite/gcc.target/i386/avx2-bf16-vec-absneg.c | 2 +- gcc/testsuite/gcc.target/i386/avx512f-bf16-vec-absneg.c | 2 +- gcc/testsuite/gcc.target/riscv/and-shift32.c | 2 +- gcc/testsuite/gcc.target/riscv/and-shift64.c | 2 +- gcc/testsuite/gcc.target/riscv/crc-builtin-zbc32.c | 2 +- gcc/testsuite/gcc.target/riscv/rvv/base/vssubu-1.c | 2 +- gcc/testsuite/gcc.target/riscv/rvv/base/vssubu-2.c | 2 +- gcc/testsuite/gcc.target/riscv/xtheadbb-extu-4.c | 2 +- gcc/testsuite/gfortran.dg/pr108889.f90 | 2 +- 86 files changed, 86 insertions(+), 86 deletions(-) diff --git a/gcc/config/mingw/mingw-stdint.h b/gcc/config/mingw/mingw-stdint.h index debbe829bdf8..3e2d3aa53a8d 100644 --- a/gcc/config/mingw/mingw-stdint.h +++ b/gcc/config/mingw/mingw-stdint.h @@ -52,4 +52,4 @@ along with GCC; see the file COPYING3. If not see #else # define INTPTR_TYPE (TARGET_64BIT ? "long long int" : "int") # define UINTPTR_TYPE (TARGET_64BIT ? "long long unsigned int" : "unsigned int") -#endif \ No newline at end of file +#endif diff --git a/gcc/config/mingw/winnt-dll.cc b/gcc/config/mingw/winnt-dll.cc index eb7cff7a593e..3e23736b0b6b 100644 --- a/gcc/config/mingw/winnt-dll.cc +++ b/gcc/config/mingw/winnt-dll.cc @@ -228,4 +228,4 @@ legitimize_pe_coff_symbol (rtx addr, bool inreg) return NULL_RTX; } -#include "gt-winnt-dll.h" \ No newline at end of file +#include "gt-winnt-dll.h" diff --git a/gcc/crc-verification.cc b/gcc/crc-verification.cc index c44a32504b45..e4521df01ede 100644 --- a/gcc/crc-verification.cc +++ b/gcc/crc-verification.cc @@ -1296,4 +1296,4 @@ all_states_match_lfsr (value *lfsr, bool is_bit_forward, tree calculated_crc, return false; return true; -} \ No newline at end of file +} diff --git a/gcc/hwint.cc b/gcc/hwint.cc index adb30e2b9ad5..538130e9fc05 100644 --- a/gcc/hwint.cc +++ b/gcc/hwint.cc @@ -205,4 +205,4 @@ reflect_hwi (unsigned HOST_WIDE_INT value, unsigned bitwidth) value >>= 1; } return reflected_value; -} \ No newline at end of file +} diff --git a/gcc/sarif-spec-urls.def b/gcc/sarif-spec-urls.def index 2ffa4a84aaa1..db985c3e380b 100644 --- a/gcc/sarif-spec-urls.def +++ b/gcc/sarif-spec-urls.def @@ -493,4 +493,4 @@ static const struct ref_anchor { "5.1", "_Toc141791171" }, { "5.5", "_Toc141791175" }, { "5.8", "_Toc141791178" }, -}; \ No newline at end of file +}; diff --git a/gcc/sym-exec/sym-exec-condition.cc b/gcc/sym-exec/sym-exec-condition.cc index fef03d04d555..4d4db358ee00 100644 --- a/gcc/sym-exec/sym-exec-condition.cc +++ b/gcc/sym-exec/sym-exec-condition.cc @@ -83,4 +83,4 @@ bit_condition::print_expr_sign () default: fprintf (dump_file, " ? "); } -} \ No newline at end of file +} diff --git a/gcc/sym-exec/sym-exec-condition.h b/gcc/sym-exec/sym-exec-condition.h index ee5b8703f484..7db003c6d142 100644 --- a/gcc/sym-exec/sym-exec-condition.h +++ b/gcc/sym-exec/sym-exec-condition.h @@ -60,4 +60,4 @@ class bit_condition : public bit_expression { value_bit *copy () const; }; -#endif /* SYM_EXEC_CONDITION_H. */ \ No newline at end of file +#endif /* SYM_EXEC_CONDITION_H. */ diff --git a/gcc/sym-exec/sym-exec-expr-is-a-helper.h b/gcc/sym-exec/sym-exec-expr-is-a-helper.h index 1a262b47fad6..65b077916299 100644 --- a/gcc/sym-exec/sym-exec-expr-is-a-helper.h +++ b/gcc/sym-exec/sym-exec-expr-is-a-helper.h @@ -284,4 +284,4 @@ is_a_helper<bit_condition *>::test (bit_expression *ptr) return ptr->get_type () == value_type::BIT_CONDITION; } -#endif /* SYM_EXEC_EXPRESSION_IS_A_HELPER_H. */ \ No newline at end of file +#endif /* SYM_EXEC_EXPRESSION_IS_A_HELPER_H. */ diff --git a/gcc/sym-exec/sym-exec-expression.cc b/gcc/sym-exec/sym-exec-expression.cc index 8abae6a993ff..e7c7fba89bc2 100644 --- a/gcc/sym-exec/sym-exec-expression.cc +++ b/gcc/sym-exec/sym-exec-expression.cc @@ -487,4 +487,4 @@ bit_complement_expression::print () else fprintf (dump_file, "null"); } -} \ No newline at end of file +} diff --git a/gcc/sym-exec/sym-exec-expression.h b/gcc/sym-exec/sym-exec-expression.h index 610088c9637a..ba2929ad988b 100644 --- a/gcc/sym-exec/sym-exec-expression.h +++ b/gcc/sym-exec/sym-exec-expression.h @@ -329,4 +329,4 @@ class bit_complement_expression : public bit_expression { void print (); }; -#endif /* SYM_EXEC_EXPRESSION_H. */ \ No newline at end of file +#endif /* SYM_EXEC_EXPRESSION_H. */ diff --git a/gcc/testsuite/g++.dg/contracts/pr116607.C b/gcc/testsuite/g++.dg/contracts/pr116607.C index 726a5bcf646d..12b0bcda9c78 100644 --- a/gcc/testsuite/g++.dg/contracts/pr116607.C +++ b/gcc/testsuite/g++.dg/contracts/pr116607.C @@ -3,4 +3,4 @@ struct a { __attribute__((no_sanitize(""))) int f(int) [[pre:true]]; }; -int a::f(int) { return 0; } \ No newline at end of file +int a::f(int) { return 0; } diff --git a/gcc/testsuite/g++.target/aarch64/pr94515-2.C b/gcc/testsuite/g++.target/aarch64/pr94515-2.C index bdb65411a080..d2f087673715 100644 --- a/gcc/testsuite/g++.target/aarch64/pr94515-2.C +++ b/gcc/testsuite/g++.target/aarch64/pr94515-2.C @@ -65,4 +65,4 @@ int main () return 0; } __builtin_abort (); // authentication of the return address is not required. -} \ No newline at end of file +} diff --git a/gcc/testsuite/g++.target/aarch64/return_address_sign_ab_exception.C b/gcc/testsuite/g++.target/aarch64/return_address_sign_ab_exception.C index 6c79ebf03eb1..f3c4ffe3d25c 100644 --- a/gcc/testsuite/g++.target/aarch64/return_address_sign_ab_exception.C +++ b/gcc/testsuite/g++.target/aarch64/return_address_sign_ab_exception.C @@ -35,4 +35,4 @@ int main (int argc, char** argv) { } } return 1; -} \ No newline at end of file +} diff --git a/gcc/testsuite/gcc.dg/crc-from-fedora-packages-1.c b/gcc/testsuite/gcc.dg/crc-from-fedora-packages-1.c index 41fe7a8f27e2..062622ff42ea 100644 --- a/gcc/testsuite/gcc.dg/crc-from-fedora-packages-1.c +++ b/gcc/testsuite/gcc.dg/crc-from-fedora-packages-1.c @@ -24,4 +24,4 @@ int CRC16_Init(int16u *Table, int16u Polynomial) return 0; } -/* { dg-final { scan-tree-dump "Second operand of the xor statement isn't an integer constant.\n" "crc" } } */ \ No newline at end of file +/* { dg-final { scan-tree-dump "Second operand of the xor statement isn't an integer constant.\n" "crc" } } */ diff --git a/gcc/testsuite/gcc.dg/crc-from-fedora-packages-10.c b/gcc/testsuite/gcc.dg/crc-from-fedora-packages-10.c index 592b2d4bf9fb..cbfb8a1114a4 100644 --- a/gcc/testsuite/gcc.dg/crc-from-fedora-packages-10.c +++ b/gcc/testsuite/gcc.dg/crc-from-fedora-packages-10.c @@ -23,4 +23,4 @@ uint16_t crc16_mcrf4xx(uint16_t crc, uint8_t *data, size_t len) { return crc; } -/* { dg-final { scan-tree-dump "calculates CRC!" "crc" } } */ \ No newline at end of file +/* { dg-final { scan-tree-dump "calculates CRC!" "crc" } } */ diff --git a/gcc/testsuite/gcc.dg/crc-from-fedora-packages-13.c b/gcc/testsuite/gcc.dg/crc-from-fedora-packages-13.c index e8c0f77e96b7..63c240a27578 100644 --- a/gcc/testsuite/gcc.dg/crc-from-fedora-packages-13.c +++ b/gcc/testsuite/gcc.dg/crc-from-fedora-packages-13.c @@ -23,4 +23,4 @@ int main () } -/* { dg-final { scan-tree-dump "calculates CRC!" "crc" } } */ \ No newline at end of file +/* { dg-final { scan-tree-dump "calculates CRC!" "crc" } } */ diff --git a/gcc/testsuite/gcc.dg/crc-from-fedora-packages-16.c b/gcc/testsuite/gcc.dg/crc-from-fedora-packages-16.c index 5d1b60458b25..8b86760ab96d 100644 --- a/gcc/testsuite/gcc.dg/crc-from-fedora-packages-16.c +++ b/gcc/testsuite/gcc.dg/crc-from-fedora-packages-16.c @@ -13,4 +13,4 @@ crc8(unsigned char value) return value; } -/* { dg-final { scan-tree-dump "calculates CRC!" "crc" } } */ \ No newline at end of file +/* { dg-final { scan-tree-dump "calculates CRC!" "crc" } } */ diff --git a/gcc/testsuite/gcc.dg/crc-from-fedora-packages-22.c b/gcc/testsuite/gcc.dg/crc-from-fedora-packages-22.c index 7cdf64dc2d43..281a9e022e53 100644 --- a/gcc/testsuite/gcc.dg/crc-from-fedora-packages-22.c +++ b/gcc/testsuite/gcc.dg/crc-from-fedora-packages-22.c @@ -23,4 +23,4 @@ void crcByteSchritt(unsigned char data) } crcReg &= 0xFF; -} \ No newline at end of file +} diff --git a/gcc/testsuite/gcc.dg/crc-from-fedora-packages-23.c b/gcc/testsuite/gcc.dg/crc-from-fedora-packages-23.c index 1fcc1872b0d2..d3283fcfb2c0 100644 --- a/gcc/testsuite/gcc.dg/crc-from-fedora-packages-23.c +++ b/gcc/testsuite/gcc.dg/crc-from-fedora-packages-23.c @@ -24,4 +24,4 @@ uint16_t ModbusCrc(const uint8_t *data, unsigned int sz) return crc; } -/* { dg-final { scan-tree-dump "calculates CRC!" "crc" } } */ \ No newline at end of file +/* { dg-final { scan-tree-dump "calculates CRC!" "crc" } } */ diff --git a/gcc/testsuite/gcc.dg/crc-from-fedora-packages-27.c b/gcc/testsuite/gcc.dg/crc-from-fedora-packages-27.c index 1d1451bec934..028be22ccee9 100644 --- a/gcc/testsuite/gcc.dg/crc-from-fedora-packages-27.c +++ b/gcc/testsuite/gcc.dg/crc-from-fedora-packages-27.c @@ -20,4 +20,4 @@ void XS_Digest__CRC__crc64() { } } -/* { dg-final { scan-tree-dump "calculates CRC!" "crc" } } */ \ No newline at end of file +/* { dg-final { scan-tree-dump "calculates CRC!" "crc" } } */ diff --git a/gcc/testsuite/gcc.dg/crc-from-fedora-packages-29.c b/gcc/testsuite/gcc.dg/crc-from-fedora-packages-29.c index f34acfbcce4e..8a54526cbbaf 100644 --- a/gcc/testsuite/gcc.dg/crc-from-fedora-packages-29.c +++ b/gcc/testsuite/gcc.dg/crc-from-fedora-packages-29.c @@ -32,4 +32,4 @@ void crc_calculator_init_table(CRC_CALCULATOR *p_crc_calculator) { } p_crc_calculator->table[value] = remainder; } -} \ No newline at end of file +} diff --git a/gcc/testsuite/gcc.dg/crc-from-fedora-packages-30.c b/gcc/testsuite/gcc.dg/crc-from-fedora-packages-30.c index 8f74538ba0e4..43cb7270d846 100644 --- a/gcc/testsuite/gcc.dg/crc-from-fedora-packages-30.c +++ b/gcc/testsuite/gcc.dg/crc-from-fedora-packages-30.c @@ -28,4 +28,4 @@ void init_crc(void) crctab[i] = accum; } } -/* { dg-final { scan-tree-dump "maybe contains CRC calculation." "crc" } } */ \ No newline at end of file +/* { dg-final { scan-tree-dump "maybe contains CRC calculation." "crc" } } */ diff --git a/gcc/testsuite/gcc.dg/crc-from-fedora-packages-32.c b/gcc/testsuite/gcc.dg/crc-from-fedora-packages-32.c index 11ed133200f6..ea21081c6d1d 100644 --- a/gcc/testsuite/gcc.dg/crc-from-fedora-packages-32.c +++ b/gcc/testsuite/gcc.dg/crc-from-fedora-packages-32.c @@ -34,4 +34,4 @@ char calculateCRC8_(char* input, int length) return crc; } -/* { dg-final { scan-tree-dump "calculates CRC!" "crc" } } */ \ No newline at end of file +/* { dg-final { scan-tree-dump "calculates CRC!" "crc" } } */ diff --git a/gcc/testsuite/gcc.dg/crc-from-fedora-packages-4.c b/gcc/testsuite/gcc.dg/crc-from-fedora-packages-4.c index 5d116e68502c..7cca172b8d57 100644 --- a/gcc/testsuite/gcc.dg/crc-from-fedora-packages-4.c +++ b/gcc/testsuite/gcc.dg/crc-from-fedora-packages-4.c @@ -18,4 +18,4 @@ void GenerateCRC32Table (u32 polynomial, u32 *table) } -/* { dg-final { scan-tree-dump "calculates CRC!" "crc" } } */ \ No newline at end of file +/* { dg-final { scan-tree-dump "calculates CRC!" "crc" } } */ diff --git a/gcc/testsuite/gcc.dg/crc-from-fedora-packages-5.c b/gcc/testsuite/gcc.dg/crc-from-fedora-packages-5.c index 71fda25d7da2..67d81e8f76af 100644 --- a/gcc/testsuite/gcc.dg/crc-from-fedora-packages-5.c +++ b/gcc/testsuite/gcc.dg/crc-from-fedora-packages-5.c @@ -50,4 +50,4 @@ u32 crc32_generic_shift(u32 crc, size_t len, } /* { dg-final { scan-tree-dump "Loop iteration number isn't a constant." "crc" } } */ -/* { dg-final { scan-tree-dump "Loop iteration number is 30" "crc" } } */ \ No newline at end of file +/* { dg-final { scan-tree-dump "Loop iteration number is 30" "crc" } } */ diff --git a/gcc/testsuite/gcc.dg/crc-from-fedora-packages-6.c b/gcc/testsuite/gcc.dg/crc-from-fedora-packages-6.c index ea189a4845bc..7897d263f814 100644 --- a/gcc/testsuite/gcc.dg/crc-from-fedora-packages-6.c +++ b/gcc/testsuite/gcc.dg/crc-from-fedora-packages-6.c @@ -37,4 +37,4 @@ void make_crc_table (mng_datap pData) pData->bCRCcomputed = 1; } -/* { dg-final { scan-tree-dump "calculates CRC!" "crc" } } */ \ No newline at end of file +/* { dg-final { scan-tree-dump "calculates CRC!" "crc" } } */ diff --git a/gcc/testsuite/gcc.dg/crc-from-fedora-packages-7.c b/gcc/testsuite/gcc.dg/crc-from-fedora-packages-7.c index 0f2e55f3100a..0aec5029f0f6 100644 --- a/gcc/testsuite/gcc.dg/crc-from-fedora-packages-7.c +++ b/gcc/testsuite/gcc.dg/crc-from-fedora-packages-7.c @@ -15,4 +15,4 @@ uint16_t crc(uint8_t byte, uint16_t reg) { } return reg & 0xFFFF; } -/* { dg-final { scan-tree-dump "maybe contains CRC calculation." "crc" } } */ \ No newline at end of file +/* { dg-final { scan-tree-dump "maybe contains CRC calculation." "crc" } } */ diff --git a/gcc/testsuite/gcc.dg/crc-linux-2.c b/gcc/testsuite/gcc.dg/crc-linux-2.c index 990a28cef6fa..033671c76159 100644 --- a/gcc/testsuite/gcc.dg/crc-linux-2.c +++ b/gcc/testsuite/gcc.dg/crc-linux-2.c @@ -62,4 +62,4 @@ u8 i2c_smbus_msg_pec(u8 pec, struct i2c_msg *msg) return i2c_smbus_pec(pec, msg->buf, msg->len); } -/* { dg-final { scan-tree-dump "calculates CRC!" "crc" } } */ \ No newline at end of file +/* { dg-final { scan-tree-dump "calculates CRC!" "crc" } } */ diff --git a/gcc/testsuite/gcc.dg/crc-linux-3.c b/gcc/testsuite/gcc.dg/crc-linux-3.c index 301f6d22b65e..6a3450e68cb0 100644 --- a/gcc/testsuite/gcc.dg/crc-linux-3.c +++ b/gcc/testsuite/gcc.dg/crc-linux-3.c @@ -46,4 +46,4 @@ u32 __attribute_const__ crc32_generic_shift(u32 crc, size_t len, } return crc; -} \ No newline at end of file +} diff --git a/gcc/testsuite/gcc.dg/crc-linux-4.c b/gcc/testsuite/gcc.dg/crc-linux-4.c index 50cbbba49d2f..b79dba48ddaf 100644 --- a/gcc/testsuite/gcc.dg/crc-linux-4.c +++ b/gcc/testsuite/gcc.dg/crc-linux-4.c @@ -27,4 +27,4 @@ u32 calc_crc(unsigned char *buf, int len) } return ~reg; -} \ No newline at end of file +} diff --git a/gcc/testsuite/gcc.dg/crc-not-crc-13.c b/gcc/testsuite/gcc.dg/crc-not-crc-13.c index 8d1562f88cac..21b99144c67b 100644 --- a/gcc/testsuite/gcc.dg/crc-not-crc-13.c +++ b/gcc/testsuite/gcc.dg/crc-not-crc-13.c @@ -17,4 +17,4 @@ uint8_t not_crc(uint8_t crc, uint8_t data) { return crc; } -/* { dg-final { scan-tree-dump-times "calculates CRC!" 0 "crc" } } */ \ No newline at end of file +/* { dg-final { scan-tree-dump-times "calculates CRC!" 0 "crc" } } */ diff --git a/gcc/testsuite/gcc.dg/crc-not-crc-14.c b/gcc/testsuite/gcc.dg/crc-not-crc-14.c index 4527be273abc..edcb92477415 100644 --- a/gcc/testsuite/gcc.dg/crc-not-crc-14.c +++ b/gcc/testsuite/gcc.dg/crc-not-crc-14.c @@ -17,4 +17,4 @@ uint8_t not_crc(uint8_t crc, uint8_t data) { return crc; } -/* { dg-final { scan-tree-dump-times "calculates CRC!" 0 "crc" } } */ \ No newline at end of file +/* { dg-final { scan-tree-dump-times "calculates CRC!" 0 "crc" } } */ diff --git a/gcc/testsuite/gcc.dg/crc-not-crc-15.c b/gcc/testsuite/gcc.dg/crc-not-crc-15.c index cf7993a2c496..a8d18aacd1b0 100644 --- a/gcc/testsuite/gcc.dg/crc-not-crc-15.c +++ b/gcc/testsuite/gcc.dg/crc-not-crc-15.c @@ -20,4 +20,4 @@ uint8_t not_crc(uint8_t crc, uint8_t data) { return crc; } -/* { dg-final { scan-tree-dump-times "calculates CRC!" 0 "crc" } } */ \ No newline at end of file +/* { dg-final { scan-tree-dump-times "calculates CRC!" 0 "crc" } } */ diff --git a/gcc/testsuite/gcc.dg/crc-not-crc-16.c b/gcc/testsuite/gcc.dg/crc-not-crc-16.c index 06c468057d61..cd312568d01d 100644 --- a/gcc/testsuite/gcc.dg/crc-not-crc-16.c +++ b/gcc/testsuite/gcc.dg/crc-not-crc-16.c @@ -15,4 +15,4 @@ uint8_t not_crc(uint8_t crc, uint8_t data) { return crc; } -/* { dg-final { scan-tree-dump-times "calculates CRC!" 0 "crc" } } */ \ No newline at end of file +/* { dg-final { scan-tree-dump-times "calculates CRC!" 0 "crc" } } */ diff --git a/gcc/testsuite/gcc.dg/crc-not-crc-17.c b/gcc/testsuite/gcc.dg/crc-not-crc-17.c index 778b209cb084..c2eee971c7fd 100644 --- a/gcc/testsuite/gcc.dg/crc-not-crc-17.c +++ b/gcc/testsuite/gcc.dg/crc-not-crc-17.c @@ -15,4 +15,4 @@ uint8_t not_crc(uint8_t crc, uint8_t data) { return crc; } -/* { dg-final { scan-tree-dump-times "calculates CRC!" 0 "crc" } } */ \ No newline at end of file +/* { dg-final { scan-tree-dump-times "calculates CRC!" 0 "crc" } } */ diff --git a/gcc/testsuite/gcc.dg/crc-not-crc-18.c b/gcc/testsuite/gcc.dg/crc-not-crc-18.c index c7454bc9d5b7..7d7b0ad4a444 100644 --- a/gcc/testsuite/gcc.dg/crc-not-crc-18.c +++ b/gcc/testsuite/gcc.dg/crc-not-crc-18.c @@ -15,4 +15,4 @@ uint8_t not_crc(uint8_t crc, uint8_t data) { return crc; } -/* { dg-final { scan-tree-dump-times "calculates CRC!" 0 "crc" } } */ \ No newline at end of file +/* { dg-final { scan-tree-dump-times "calculates CRC!" 0 "crc" } } */ diff --git a/gcc/testsuite/gcc.dg/crc-not-crc-19.c b/gcc/testsuite/gcc.dg/crc-not-crc-19.c index c072f72cbafa..2ae2dd54cc22 100644 --- a/gcc/testsuite/gcc.dg/crc-not-crc-19.c +++ b/gcc/testsuite/gcc.dg/crc-not-crc-19.c @@ -15,4 +15,4 @@ uint8_t not_crc(uint8_t crc, uint8_t data) { return crc; } -/* { dg-final { scan-tree-dump-times "calculates CRC!" 0 "crc" } } */ \ No newline at end of file +/* { dg-final { scan-tree-dump-times "calculates CRC!" 0 "crc" } } */ diff --git a/gcc/testsuite/gcc.dg/crc-not-crc-20.c b/gcc/testsuite/gcc.dg/crc-not-crc-20.c index 25360ea2d613..b7cdb63da8f2 100644 --- a/gcc/testsuite/gcc.dg/crc-not-crc-20.c +++ b/gcc/testsuite/gcc.dg/crc-not-crc-20.c @@ -15,4 +15,4 @@ uint8_t not_crc(uint8_t crc, uint8_t data) { return crc; } -/* { dg-final { scan-tree-dump-times "calculates CRC!" 0 "crc" } } */ \ No newline at end of file +/* { dg-final { scan-tree-dump-times "calculates CRC!" 0 "crc" } } */ diff --git a/gcc/testsuite/gcc.dg/crc-not-crc-21.c b/gcc/testsuite/gcc.dg/crc-not-crc-21.c index 94465ae2f000..24c657422fb8 100644 --- a/gcc/testsuite/gcc.dg/crc-not-crc-21.c +++ b/gcc/testsuite/gcc.dg/crc-not-crc-21.c @@ -22,4 +22,4 @@ uint16_t not_crcu8 (uint8_t data, uint16_t crc) { return crc; } -/* { dg-final { scan-tree-dump-times "calculates CRC!" 0 "crc" } } */ \ No newline at end of file +/* { dg-final { scan-tree-dump-times "calculates CRC!" 0 "crc" } } */ diff --git a/gcc/testsuite/gcc.dg/crc-not-crc-22.c b/gcc/testsuite/gcc.dg/crc-not-crc-22.c index 40a4f74bdb82..8b3aa0be4cc2 100644 --- a/gcc/testsuite/gcc.dg/crc-not-crc-22.c +++ b/gcc/testsuite/gcc.dg/crc-not-crc-22.c @@ -22,4 +22,4 @@ uint16_t not_crcu8 (uint8_t data, uint16_t crc) { return crc; } -/* { dg-final { scan-tree-dump-times "calculates CRC!" 0 "crc" } } */ \ No newline at end of file +/* { dg-final { scan-tree-dump-times "calculates CRC!" 0 "crc" } } */ diff --git a/gcc/testsuite/gcc.dg/crc-not-crc-23.c b/gcc/testsuite/gcc.dg/crc-not-crc-23.c index 06ebc96fb831..1f871d68808a 100644 --- a/gcc/testsuite/gcc.dg/crc-not-crc-23.c +++ b/gcc/testsuite/gcc.dg/crc-not-crc-23.c @@ -22,4 +22,4 @@ uint16_t not_crcu8 (uint8_t data, uint16_t crc) { return crc; } -/* { dg-final { scan-tree-dump-times "calculates CRC!" 0 "crc" } } */ \ No newline at end of file +/* { dg-final { scan-tree-dump-times "calculates CRC!" 0 "crc" } } */ diff --git a/gcc/testsuite/gcc.dg/crc-not-crc-24.c b/gcc/testsuite/gcc.dg/crc-not-crc-24.c index 603e436c6fbd..44e7151830e3 100644 --- a/gcc/testsuite/gcc.dg/crc-not-crc-24.c +++ b/gcc/testsuite/gcc.dg/crc-not-crc-24.c @@ -22,4 +22,4 @@ uint16_t not_crcu8 (uint8_t data, uint16_t crc) { return crc; } -/* { dg-final { scan-tree-dump-times "calculates CRC!" 0 "crc" } } */ \ No newline at end of file +/* { dg-final { scan-tree-dump-times "calculates CRC!" 0 "crc" } } */ diff --git a/gcc/testsuite/gcc.dg/crc-not-crc-25.c b/gcc/testsuite/gcc.dg/crc-not-crc-25.c index 80e2e0419cef..f43d94044ac1 100644 --- a/gcc/testsuite/gcc.dg/crc-not-crc-25.c +++ b/gcc/testsuite/gcc.dg/crc-not-crc-25.c @@ -22,4 +22,4 @@ uint16_t not_crcu8 (uint8_t *data, uint16_t crc) { return crc; } -/* { dg-final { scan-tree-dump-times "calculates CRC!" 0 "crc" } } */ \ No newline at end of file +/* { dg-final { scan-tree-dump-times "calculates CRC!" 0 "crc" } } */ diff --git a/gcc/testsuite/gcc.dg/crc-not-crc-26.c b/gcc/testsuite/gcc.dg/crc-not-crc-26.c index 39866ccb45df..b549ab3087b3 100644 --- a/gcc/testsuite/gcc.dg/crc-not-crc-26.c +++ b/gcc/testsuite/gcc.dg/crc-not-crc-26.c @@ -22,4 +22,4 @@ uint16_t not_crcu8 (uint8_t data, uint16_t crc) { return crc; } -/* { dg-final { scan-tree-dump-times "calculates CRC!" 0 "crc" } } */ \ No newline at end of file +/* { dg-final { scan-tree-dump-times "calculates CRC!" 0 "crc" } } */ diff --git a/gcc/testsuite/gcc.dg/crc-side-instr-1.c b/gcc/testsuite/gcc.dg/crc-side-instr-1.c index 69738d5c8665..e3c0cefb991e 100644 --- a/gcc/testsuite/gcc.dg/crc-side-instr-1.c +++ b/gcc/testsuite/gcc.dg/crc-side-instr-1.c @@ -24,4 +24,4 @@ uint16_t crc16_update (uint16_t crc, uint8_t a) /* { dg-final { scan-tree-dump "Loop iteration number is 7" "crc" } } */ /* { dg-final { scan-tree-dump "Bit reversed" "crc" } } */ /* { dg-final { scan-tree-dump "calculates CRC!" "crc" } } */ -/* { dg-final { scan-tree-dump "Polynomial's value is \\\{1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1\\\}" "crc" } } */ \ No newline at end of file +/* { dg-final { scan-tree-dump "Polynomial's value is \\\{1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1\\\}" "crc" } } */ diff --git a/gcc/testsuite/gcc.dg/crc-side-instr-10.c b/gcc/testsuite/gcc.dg/crc-side-instr-10.c index 765572cf9b73..c770c2d114d1 100644 --- a/gcc/testsuite/gcc.dg/crc-side-instr-10.c +++ b/gcc/testsuite/gcc.dg/crc-side-instr-10.c @@ -28,4 +28,4 @@ ee_u16 crcu8 (ee_u8 data, ee_u16 crc) { return a; } -/* { dg-final { scan-tree-dump "Output CRC and determined input CRC differ." "crc" } } */ \ No newline at end of file +/* { dg-final { scan-tree-dump "Output CRC and determined input CRC differ." "crc" } } */ diff --git a/gcc/testsuite/gcc.dg/crc-side-instr-11.c b/gcc/testsuite/gcc.dg/crc-side-instr-11.c index d8a7a88de5d9..f32c8f9bc5e5 100644 --- a/gcc/testsuite/gcc.dg/crc-side-instr-11.c +++ b/gcc/testsuite/gcc.dg/crc-side-instr-11.c @@ -28,4 +28,4 @@ ee_u16 crcu8 (ee_u8 data, ee_u16 crc) { return a + crc; } -/* { dg-final { scan-tree-dump "There is more than one output phi." "crc" } } */ \ No newline at end of file +/* { dg-final { scan-tree-dump "There is more than one output phi." "crc" } } */ diff --git a/gcc/testsuite/gcc.dg/crc-side-instr-12.c b/gcc/testsuite/gcc.dg/crc-side-instr-12.c index 4511c08dc6b1..5ea6b65317b2 100644 --- a/gcc/testsuite/gcc.dg/crc-side-instr-12.c +++ b/gcc/testsuite/gcc.dg/crc-side-instr-12.c @@ -30,4 +30,4 @@ ee_u16 crcu8 (ee_u8 data, ee_u16 crc) { return crc; } -/* { dg-final { scan-tree-dump "calculates CRC!" "crc" } } */ \ No newline at end of file +/* { dg-final { scan-tree-dump "calculates CRC!" "crc" } } */ diff --git a/gcc/testsuite/gcc.dg/crc-side-instr-13.c b/gcc/testsuite/gcc.dg/crc-side-instr-13.c index 968a35bf4df6..810a5cd1071b 100644 --- a/gcc/testsuite/gcc.dg/crc-side-instr-13.c +++ b/gcc/testsuite/gcc.dg/crc-side-instr-13.c @@ -28,4 +28,4 @@ ee_u16 crcu8 (ee_u8 data, ee_u16 crc) { return crc; } -/* { dg-final { scan-tree-dump "There is more than one output phi." "crc" } } */ \ No newline at end of file +/* { dg-final { scan-tree-dump "There is more than one output phi." "crc" } } */ diff --git a/gcc/testsuite/gcc.dg/crc-side-instr-14.c b/gcc/testsuite/gcc.dg/crc-side-instr-14.c index c8b671f571eb..27021d1cc756 100644 --- a/gcc/testsuite/gcc.dg/crc-side-instr-14.c +++ b/gcc/testsuite/gcc.dg/crc-side-instr-14.c @@ -32,4 +32,4 @@ ee_u16 crcu8 (ee_u8 data, ee_u16 crc) { return crc; } -/* { dg-final { scan-tree-dump-times "calculates CRC!" 0 "crc" } } */ \ No newline at end of file +/* { dg-final { scan-tree-dump-times "calculates CRC!" 0 "crc" } } */ diff --git a/gcc/testsuite/gcc.dg/crc-side-instr-15.c b/gcc/testsuite/gcc.dg/crc-side-instr-15.c index ec3c879034d4..3f33506d839c 100644 --- a/gcc/testsuite/gcc.dg/crc-side-instr-15.c +++ b/gcc/testsuite/gcc.dg/crc-side-instr-15.c @@ -34,4 +34,4 @@ ee_u16 crcu8 (ee_u8 data, ee_u16 crc) { return crc; } -/* { dg-final { scan-tree-dump "calculates CRC!" "crc" } } */ \ No newline at end of file +/* { dg-final { scan-tree-dump "calculates CRC!" "crc" } } */ diff --git a/gcc/testsuite/gcc.dg/crc-side-instr-16.c b/gcc/testsuite/gcc.dg/crc-side-instr-16.c index 2f14c90ab114..714c6bdddc92 100644 --- a/gcc/testsuite/gcc.dg/crc-side-instr-16.c +++ b/gcc/testsuite/gcc.dg/crc-side-instr-16.c @@ -35,4 +35,4 @@ ee_u16 crcu8 (ee_u8 data, ee_u16 crc) { return crc; } -/* { dg-final { scan-tree-dump-times "calculates CRC!" 0 "crc" } } */ \ No newline at end of file +/* { dg-final { scan-tree-dump-times "calculates CRC!" 0 "crc" } } */ diff --git a/gcc/testsuite/gcc.dg/crc-side-instr-17.c b/gcc/testsuite/gcc.dg/crc-side-instr-17.c index 8f98df874468..759e5162b5da 100644 --- a/gcc/testsuite/gcc.dg/crc-side-instr-17.c +++ b/gcc/testsuite/gcc.dg/crc-side-instr-17.c @@ -34,4 +34,4 @@ ee_u16 crcu8 (ee_u8 data, ee_u16 crc) { return crc + c; } -/* { dg-final { scan-tree-dump "There is more than one output phi." "crc" } } */ \ No newline at end of file +/* { dg-final { scan-tree-dump "There is more than one output phi." "crc" } } */ diff --git a/gcc/testsuite/gcc.dg/crc-side-instr-2.c b/gcc/testsuite/gcc.dg/crc-side-instr-2.c index 23dfa3edc174..758ec106df7f 100644 --- a/gcc/testsuite/gcc.dg/crc-side-instr-2.c +++ b/gcc/testsuite/gcc.dg/crc-side-instr-2.c @@ -24,4 +24,4 @@ uint16_t crc16_update(uint16_t crc, uint8_t a) { /* { dg-final { scan-tree-dump "Loop iteration number is 7" "crc" } } */ /* { dg-final { scan-tree-dump "Bit reversed" "crc" } } */ /* { dg-final { scan-tree-dump "calculates CRC!" "crc" } } */ -/* { dg-final { scan-tree-dump "Polynomial's value is \\\{1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1\\\}" "crc" } } */ \ No newline at end of file +/* { dg-final { scan-tree-dump "Polynomial's value is \\\{1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1\\\}" "crc" } } */ diff --git a/gcc/testsuite/gcc.dg/crc-side-instr-3.c b/gcc/testsuite/gcc.dg/crc-side-instr-3.c index 731c6624a2e3..9c567549e2e1 100644 --- a/gcc/testsuite/gcc.dg/crc-side-instr-3.c +++ b/gcc/testsuite/gcc.dg/crc-side-instr-3.c @@ -23,4 +23,4 @@ uint16_t crc16_update(uint16_t crc, uint8_t a) { /* { dg-final { scan-tree-dump "Loop iteration number is 7" "crc" } } */ /* { dg-final { scan-tree-dump "Bit reversed" "crc" } } */ /* { dg-final { scan-tree-dump "calculates CRC!" "crc" } } */ -/* { dg-final { scan-tree-dump "Polynomial's value is \\\{1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1\\\}" "crc" } } */ \ No newline at end of file +/* { dg-final { scan-tree-dump "Polynomial's value is \\\{1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1\\\}" "crc" } } */ diff --git a/gcc/testsuite/gcc.dg/crc-side-instr-4.c b/gcc/testsuite/gcc.dg/crc-side-instr-4.c index 7612c52c67e3..15dbd27bda27 100644 --- a/gcc/testsuite/gcc.dg/crc-side-instr-4.c +++ b/gcc/testsuite/gcc.dg/crc-side-instr-4.c @@ -23,4 +23,4 @@ uint16_t crc16_update(uint16_t crc, uint8_t a) { /* { dg-final { scan-tree-dump "Loop iteration number is 7" "crc" } } */ /* { dg-final { scan-tree-dump "Bit reversed" "crc" } } */ /* { dg-final { scan-tree-dump "calculates CRC!" "crc" } } */ -/* { dg-final { scan-tree-dump "Polynomial's value is \\\{1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1\\\}" "crc" } } */ \ No newline at end of file +/* { dg-final { scan-tree-dump "Polynomial's value is \\\{1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1\\\}" "crc" } } */ diff --git a/gcc/testsuite/gcc.dg/crc-side-instr-5.c b/gcc/testsuite/gcc.dg/crc-side-instr-5.c index ef97028e881e..0af1adfa6c3d 100644 --- a/gcc/testsuite/gcc.dg/crc-side-instr-5.c +++ b/gcc/testsuite/gcc.dg/crc-side-instr-5.c @@ -23,4 +23,4 @@ uint16_t crc16_update(uint16_t crc, uint8_t a) { /* { dg-final { scan-tree-dump "Loop iteration number is 7" "crc" } } */ /* { dg-final { scan-tree-dump "Bit reversed" "crc" } } */ /* { dg-final { scan-tree-dump "calculates CRC!" "crc" } } */ -/* { dg-final { scan-tree-dump "Polynomial's value is \\\{1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1\\\}" "crc" } } */ \ No newline at end of file +/* { dg-final { scan-tree-dump "Polynomial's value is \\\{1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1\\\}" "crc" } } */ diff --git a/gcc/testsuite/gcc.dg/crc-side-instr-6.c b/gcc/testsuite/gcc.dg/crc-side-instr-6.c index f559fa94a538..9423d75158a0 100644 --- a/gcc/testsuite/gcc.dg/crc-side-instr-6.c +++ b/gcc/testsuite/gcc.dg/crc-side-instr-6.c @@ -39,4 +39,4 @@ int main() /* { dg-final { scan-tree-dump "Loop iteration number is 7" "crc" } } */ /* { dg-final { scan-tree-dump "Bit reversed" "crc" } } */ /* { dg-final { scan-tree-dump "calculates CRC!" "crc" } } */ -/* { dg-final { scan-tree-dump "Polynomial's value is \\\{\[0, \]*1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1\\\}" "crc" } } */ \ No newline at end of file +/* { dg-final { scan-tree-dump "Polynomial's value is \\\{\[0, \]*1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1\\\}" "crc" } } */ diff --git a/gcc/testsuite/gcc.dg/crc-side-instr-7.c b/gcc/testsuite/gcc.dg/crc-side-instr-7.c index d80aadc6ccbc..ce8f8a86fc21 100644 --- a/gcc/testsuite/gcc.dg/crc-side-instr-7.c +++ b/gcc/testsuite/gcc.dg/crc-side-instr-7.c @@ -37,4 +37,4 @@ int main() /* { dg-final { scan-tree-dump "crcu8 function maybe contains CRC calculation." "crc" } } */ /* { dg-final { scan-tree-dump "Loop iteration number is 7" "crc" } } */ /* { dg-final { scan-tree-dump "Bit reversed" "crc" } } */ -/* { dg-final { scan-tree-dump-times "calculates CRC!" 0 "crc" } } */ \ No newline at end of file +/* { dg-final { scan-tree-dump-times "calculates CRC!" 0 "crc" } } */ diff --git a/gcc/testsuite/gcc.dg/crc-side-instr-8.c b/gcc/testsuite/gcc.dg/crc-side-instr-8.c index 23263e156a14..037e8116bd1c 100644 --- a/gcc/testsuite/gcc.dg/crc-side-instr-8.c +++ b/gcc/testsuite/gcc.dg/crc-side-instr-8.c @@ -33,4 +33,4 @@ int main() printf ("%d", a); } -/* { dg-final { scan-tree-dump "There is more than one output phi." "crc" } } */ \ No newline at end of file +/* { dg-final { scan-tree-dump "There is more than one output phi." "crc" } } */ diff --git a/gcc/testsuite/gcc.dg/crc-side-instr-9.c b/gcc/testsuite/gcc.dg/crc-side-instr-9.c index 477318e05e04..af0258e676e7 100644 --- a/gcc/testsuite/gcc.dg/crc-side-instr-9.c +++ b/gcc/testsuite/gcc.dg/crc-side-instr-9.c @@ -28,4 +28,4 @@ ee_u16 crcu8 (ee_u8 data, ee_u16 crc) { return crc; } -/* { dg-final { scan-tree-dump "There is more than one output phi." "crc" } } */ \ No newline at end of file +/* { dg-final { scan-tree-dump "There is more than one output phi." "crc" } } */ diff --git a/gcc/testsuite/gcc.dg/pr109393.c b/gcc/testsuite/gcc.dg/pr109393.c index 17bf93307964..b2dd5a0b645c 100644 --- a/gcc/testsuite/gcc.dg/pr109393.c +++ b/gcc/testsuite/gcc.dg/pr109393.c @@ -20,4 +20,4 @@ int bar(int *a, int j) return (&a[j + 1] - 2) == &a[k]; } -/* { dg-final { scan-tree-dump-times "return 1;" 3 "optimized" } } */ \ No newline at end of file +/* { dg-final { scan-tree-dump-times "return 1;" 3 "optimized" } } */ diff --git a/gcc/testsuite/gcc.dg/torture/crc-11.c b/gcc/testsuite/gcc.dg/torture/crc-11.c index 44da2b28cff8..0f3cae68d74c 100644 --- a/gcc/testsuite/gcc.dg/torture/crc-11.c +++ b/gcc/testsuite/gcc.dg/torture/crc-11.c @@ -17,4 +17,4 @@ uint16_t crc16(uint16_t crc, uint8_t a, uint16_t polynom) { return crc; } -/* { dg-final { scan-tree-dump "Second operand of the xor statement isn't an integer constant.\n" "crc" } } */ \ No newline at end of file +/* { dg-final { scan-tree-dump "Second operand of the xor statement isn't an integer constant.\n" "crc" } } */ diff --git a/gcc/testsuite/gcc.dg/torture/crc-16.c b/gcc/testsuite/gcc.dg/torture/crc-16.c index c0e5b1faf405..86b5a50a92a7 100644 --- a/gcc/testsuite/gcc.dg/torture/crc-16.c +++ b/gcc/testsuite/gcc.dg/torture/crc-16.c @@ -37,4 +37,4 @@ int receive(/*int read_fd, */int file_fd) /* ... */ return -1; -} \ No newline at end of file +} diff --git a/gcc/testsuite/gcc.dg/torture/crc-2.c b/gcc/testsuite/gcc.dg/torture/crc-2.c index 78cd88449d63..2e46fe17f93f 100644 --- a/gcc/testsuite/gcc.dg/torture/crc-2.c +++ b/gcc/testsuite/gcc.dg/torture/crc-2.c @@ -25,4 +25,4 @@ unsigned int crc16 (unsigned int crcValue, unsigned char newByte) { /* { dg-final { scan-tree-dump "function maybe contains CRC calculation." "crc" } } */ /* { dg-final { scan-tree-dump "Loop iteration number is 7" "crc" } } */ /* { dg-final { scan-tree-dump "Bit forward" "crc" } } */ -/* { dg-final { scan-tree-dump "Polynomial's value is \\\{\[0, \]*1, 0, 0, 0, 0, 0, 0, 1, 0\\\}" "crc" } } */ \ No newline at end of file +/* { dg-final { scan-tree-dump "Polynomial's value is \\\{\[0, \]*1, 0, 0, 0, 0, 0, 0, 1, 0\\\}" "crc" } } */ diff --git a/gcc/testsuite/gcc.dg/torture/crc-24.c b/gcc/testsuite/gcc.dg/torture/crc-24.c index 863569a009a7..2943d85699c4 100644 --- a/gcc/testsuite/gcc.dg/torture/crc-24.c +++ b/gcc/testsuite/gcc.dg/torture/crc-24.c @@ -27,4 +27,4 @@ uint16_t not_crcu8 (uint16_t data, uint16_t crc) crc &= 0x7fff; } return crc; -} \ No newline at end of file +} diff --git a/gcc/testsuite/gcc.dg/torture/crc-27.c b/gcc/testsuite/gcc.dg/torture/crc-27.c index cd1ab9404c9e..b7abde5b012e 100644 --- a/gcc/testsuite/gcc.dg/torture/crc-27.c +++ b/gcc/testsuite/gcc.dg/torture/crc-27.c @@ -24,4 +24,4 @@ uint32_t crc32_le ( uint32_t crc, const void *data, size_t len ) { } } return crc; -} \ No newline at end of file +} diff --git a/gcc/testsuite/gcc.dg/torture/crc-crc64-data64.c b/gcc/testsuite/gcc.dg/torture/crc-crc64-data64.c index 0c0df0f8f108..765d261bcaac 100644 --- a/gcc/testsuite/gcc.dg/torture/crc-crc64-data64.c +++ b/gcc/testsuite/gcc.dg/torture/crc-crc64-data64.c @@ -49,4 +49,4 @@ int main () /* { dg-final { scan-tree-dump "Loop iteration number is 63" "crc" } } */ /* { dg-final { scan-tree-dump "Bit forward" "crc" } } */ /* { dg-final { scan-tree-dump "calculates CRC!" "crc" } } */ -/* { dg-final { scan-tree-dump-times "Couldn't generate faster CRC code." 0 "crc" } } */ \ No newline at end of file +/* { dg-final { scan-tree-dump-times "Couldn't generate faster CRC code." 0 "crc" } } */ diff --git a/gcc/testsuite/gcc.dg/torture/crc-crc8-data8-xorOustideFor.c b/gcc/testsuite/gcc.dg/torture/crc-crc8-data8-xorOustideFor.c index 56a1c3da3667..a9f0cadef97d 100644 --- a/gcc/testsuite/gcc.dg/torture/crc-crc8-data8-xorOustideFor.c +++ b/gcc/testsuite/gcc.dg/torture/crc-crc8-data8-xorOustideFor.c @@ -48,4 +48,4 @@ int main () } /* { dg-final { scan-tree-dump "calculates CRC!" "crc" } } */ -/* { dg-final { scan-tree-dump-times "Couldn't generate faster CRC code." 0 "crc" } } */ \ No newline at end of file +/* { dg-final { scan-tree-dump-times "Couldn't generate faster CRC code." 0 "crc" } } */ diff --git a/gcc/testsuite/gcc.dg/torture/crc-crc8.c b/gcc/testsuite/gcc.dg/torture/crc-crc8.c index f1a8dd08362e..66a82df068ff 100644 --- a/gcc/testsuite/gcc.dg/torture/crc-crc8.c +++ b/gcc/testsuite/gcc.dg/torture/crc-crc8.c @@ -46,4 +46,4 @@ int main () /* { dg-final { scan-tree-dump "function maybe contains CRC calculation." "crc" } } */ /* { dg-final { scan-tree-dump "Loop iteration number is 7" "crc" } } */ /* { dg-final { scan-tree-dump "Bit forward" "crc" } } */ -/* { dg-final { scan-tree-dump "calculates CRC!" "crc" } } */ \ No newline at end of file +/* { dg-final { scan-tree-dump "calculates CRC!" "crc" } } */ diff --git a/gcc/testsuite/gcc.dg/tree-ssa/ldexp.c b/gcc/testsuite/gcc.dg/tree-ssa/ldexp.c index 63b36f97a30d..92bcf588b16a 100644 --- a/gcc/testsuite/gcc.dg/tree-ssa/ldexp.c +++ b/gcc/testsuite/gcc.dg/tree-ssa/ldexp.c @@ -29,4 +29,4 @@ TEST(double, ldexp, 8.0, double_ldexp) TEST(float, ldexpf, 8.0f, float_ldexp) -TEST(long double, ldexpl, 8.0L, long_ldexp) \ No newline at end of file +TEST(long double, ldexpl, 8.0L, long_ldexp) diff --git a/gcc/testsuite/gcc.dg/tree-ssa/pr114760-1.c b/gcc/testsuite/gcc.dg/tree-ssa/pr114760-1.c index 9f10ccc3b510..67ec7734b077 100644 --- a/gcc/testsuite/gcc.dg/tree-ssa/pr114760-1.c +++ b/gcc/testsuite/gcc.dg/tree-ssa/pr114760-1.c @@ -66,4 +66,4 @@ nlz32_2 (unsigned int b) { } /* { dg-final { scan-tree-dump-times "__builtin_ctz|\\.CTZ" 3 "optimized" } } */ -/* { dg-final { scan-tree-dump-times "__builtin_clz|\\.CLZ" 2 "optimized" } } */ \ No newline at end of file +/* { dg-final { scan-tree-dump-times "__builtin_clz|\\.CLZ" 2 "optimized" } } */ diff --git a/gcc/testsuite/gcc.dg/tree-ssa/pr114760-2.c b/gcc/testsuite/gcc.dg/tree-ssa/pr114760-2.c index e1b4c4b13382..b81f3cb1ea48 100644 --- a/gcc/testsuite/gcc.dg/tree-ssa/pr114760-2.c +++ b/gcc/testsuite/gcc.dg/tree-ssa/pr114760-2.c @@ -17,4 +17,4 @@ no_nlz32 (int b) { return c; } -/* { dg-final { scan-tree-dump-not "__builtin_ctz|\\.CLZ" "optimized" } } */ \ No newline at end of file +/* { dg-final { scan-tree-dump-not "__builtin_ctz|\\.CLZ" "optimized" } } */ diff --git a/gcc/testsuite/gcc.target/aarch64/cpunative/info_25 b/gcc/testsuite/gcc.target/aarch64/cpunative/info_25 index d6e83ccab097..117803b8bca7 100644 --- a/gcc/testsuite/gcc.target/aarch64/cpunative/info_25 +++ b/gcc/testsuite/gcc.target/aarch64/cpunative/info_25 @@ -14,4 +14,4 @@ CPU implementer : 0x51 CPU architecture: 8 CPU variant : 0x1 CPU part : 0x001 -CPU revision : 1 \ No newline at end of file +CPU revision : 1 diff --git a/gcc/testsuite/gcc.target/aarch64/cpunative/info_26 b/gcc/testsuite/gcc.target/aarch64/cpunative/info_26 index 7631baf32398..8bad40c675c4 100644 --- a/gcc/testsuite/gcc.target/aarch64/cpunative/info_26 +++ b/gcc/testsuite/gcc.target/aarch64/cpunative/info_26 @@ -23,4 +23,4 @@ CPU implementer : 0x51 CPU architecture: 8 CPU variant : 0x2 CPU part : 0x001 -CPU revision : 1 \ No newline at end of file +CPU revision : 1 diff --git a/gcc/testsuite/gcc.target/aarch64/cpunative/native_cpu_26.c b/gcc/testsuite/gcc.target/aarch64/cpunative/native_cpu_26.c index 4eb943d52040..958bf9dd4470 100644 --- a/gcc/testsuite/gcc.target/aarch64/cpunative/native_cpu_26.c +++ b/gcc/testsuite/gcc.target/aarch64/cpunative/native_cpu_26.c @@ -8,4 +8,4 @@ int main() } /* { dg-final { scan-assembler {\.arch armv8.6-a\+rng\+sm4\+crc\+aes\+sha3\+fp16} } } */ -/* Test that SoC with cores of 3 variants work. */ \ No newline at end of file +/* Test that SoC with cores of 3 variants work. */ diff --git a/gcc/testsuite/gcc.target/arm/thumb2-switchstatement.c b/gcc/testsuite/gcc.target/arm/thumb2-switchstatement.c index 8badf318e626..897fa280fa68 100644 --- a/gcc/testsuite/gcc.target/arm/thumb2-switchstatement.c +++ b/gcc/testsuite/gcc.target/arm/thumb2-switchstatement.c @@ -141,4 +141,4 @@ __attribute__ ((noinline)) __attribute__ ((noclone)) const char* backwards_branc default: return "Default"; } -} \ No newline at end of file +} diff --git a/gcc/testsuite/gcc.target/i386/avx2-bf16-vec-absneg.c b/gcc/testsuite/gcc.target/i386/avx2-bf16-vec-absneg.c index b76fae07165a..23ac01001252 100644 --- a/gcc/testsuite/gcc.target/i386/avx2-bf16-vec-absneg.c +++ b/gcc/testsuite/gcc.target/i386/avx2-bf16-vec-absneg.c @@ -82,4 +82,4 @@ do_test (void) /* { dg-final { scan-tree-dump-times "loop vectorized using 16 byte vectors" 2 "vect" } } */ /* { dg-final { scan-tree-dump-times "loop vectorized using 32 byte vectors" 2 "vect" } } */ -/* { dg-final { scan-tree-dump-times {(?n)ABS_EXPR <vect} 2 "optimized" { target { ! ia32 } } } } */ \ No newline at end of file +/* { dg-final { scan-tree-dump-times {(?n)ABS_EXPR <vect} 2 "optimized" { target { ! ia32 } } } } */ diff --git a/gcc/testsuite/gcc.target/i386/avx512f-bf16-vec-absneg.c b/gcc/testsuite/gcc.target/i386/avx512f-bf16-vec-absneg.c index 96f7bebbb8b1..2de4f6ff076f 100644 --- a/gcc/testsuite/gcc.target/i386/avx512f-bf16-vec-absneg.c +++ b/gcc/testsuite/gcc.target/i386/avx512f-bf16-vec-absneg.c @@ -63,4 +63,4 @@ do_test (void) } /* { dg-final { scan-tree-dump-times "loop vectorized using 64 byte vectors" 2 "vect" } } */ -/* { dg-final { scan-tree-dump-times {(?n)ABS_EXPR <vect} 1 "optimized" { target { ! ia32 } } } } */ \ No newline at end of file +/* { dg-final { scan-tree-dump-times {(?n)ABS_EXPR <vect} 1 "optimized" { target { ! ia32 } } } } */ diff --git a/gcc/testsuite/gcc.target/riscv/and-shift32.c b/gcc/testsuite/gcc.target/riscv/and-shift32.c index 38ee63e8d792..2fb1b98b45cb 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 ccfaedd508a6..dad0b9aa9584 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 20d7d25f60e4..3eb4be78dcb5 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 f19b42aed04c..606854b92901 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 cb4e4f48a9b1..78abd09dc05f 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 41d3fc1f5b40..803bbe7da60a 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} } } */ diff --git a/gcc/testsuite/gfortran.dg/pr108889.f90 b/gcc/testsuite/gfortran.dg/pr108889.f90 index 7fd4e3882a48..0476b549569e 100644 --- a/gcc/testsuite/gfortran.dg/pr108889.f90 +++ b/gcc/testsuite/gfortran.dg/pr108889.f90 @@ -40,4 +40,4 @@ contains ref4 = single%var ! Warnings in contained scope end end -! { df-final { scan-tree-dump-times "ubound = 0" 3 "original" } } \ No newline at end of file +! { df-final { scan-tree-dump-times "ubound = 0" 3 "original" } } -- GitLab