[PATCH] testsuite: The expect framework might introduce CR in output

2025-01-11 Thread Torbjörn SVENSSON
CRLF. (The problem can be found in sim_load where it calls remote_spawn without an input file). libstdc++-v3/ChangeLog: * 27_io/print/1.cc: Allow both LF and CRLF in test. * 27_io/print/3.cc: Likewise. Signed-off-by: Torbjörn SVENSSON --- libstdc++-v3/testsuite/27_io/prin

[PATCH] testsuite: The expect framework might introduce CR in output

2025-01-11 Thread Torbjörn SVENSSON
input file). libstdc++-v3/ChangeLog: * 27_io/print/1.cc: Allow both LF and CRLF in test. Signed-off-by: Torbjörn SVENSSON --- libstdc++-v3/testsuite/27_io/print/1.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libstdc++-v3/testsuite/27_io/print/1.cc b/li

[PATCH v2] testsuite: arm: Use -std=c17 and effective-target arm_arch_v5te_thumb

2025-01-09 Thread Torbjörn SVENSSON
_t *)' .../pr59858.c:79:12: note: previous declaration of 'build_trtable' with type 'int(void)' Adding -std=c17 removes these errors. Also, updated test case to use -mcpu=unset/-march=unset feature introduced in r15-3606-g7d6c6a0d15c. gcc/testsuite/ChangeLog: *

[PATCH] testsuite: arm: Fix typo in gcc.target/arm/armv8_2-fp16-conv-1.c

2025-01-09 Thread Torbjörn SVENSSON
While writing the summary for my push of r15-6745-g794f6721e0e, I noticed the following typo. Pushed this patch as obivous. -- gcc/testsuite/ChangeLog: * gcc.target/arm/armv8_2-fp16-conv-1.c: Fix typo. Signed-off-by: Torbjörn SVENSSON --- gcc/testsuite/gcc.target/arm/armv8_2-fp16

[PATCH] testsuite: arm: Add pattern for armv8-m.base to cmse-15.c test

2025-01-07 Thread Torbjörn SVENSSON
: * gcc.target/arm/cmse/cmse-15.c: Added pattern for armv8-m.base. Signed-off-by: Torbjörn SVENSSON --- gcc/testsuite/gcc.target/arm/cmse/cmse-15.c | 12 1 file changed, 12 insertions(+) diff --git a/gcc/testsuite/gcc.target/arm/cmse/cmse-15.c b/gcc/testsuite/gcc.target/arm/cmse/cmse-15.c

[PATCH] testsuite: arm: Verify asm per function for armv8_2-fp16-conv-1.c

2024-12-27 Thread Torbjörn SVENSSON
-function-bodies. Signed-off-by: Torbjörn SVENSSON --- .../gcc.target/arm/armv8_2-fp16-conv-1.c | 99 --- 1 file changed, 83 insertions(+), 16 deletions(-) diff --git a/gcc/testsuite/gcc.target/arm/armv8_2-fp16-conv-1.c b/gcc/testsuite/gcc.target/arm/armv8_2-fp16-conv-1.c

[PATCH] testsuite: arm: Align function prototype and implementation

2024-12-27 Thread Torbjörn SVENSSON
)' .../pr59858.c:79:12: note: previous declaration of 'build_trtable' with type 'int(void)' Also, add -mcpu=unset to the options to ensure that the -mcpu and -march options are compatbile. gcc/testsuite/ChangeLog: * gcc.target/arm/pr59858.c: Align function p

[PATCH] testsuite: libstdc++: Use effective-target libatomic

2024-12-23 Thread Torbjörn SVENSSON
. Signed-off-by: Torbjörn SVENSSON --- .../29_atomics/atomic_float/compare_exchange_padding.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/libstdc++-v3/testsuite/29_atomics/atomic_float/compare_exchange_padding.cc b/libstdc++-v3/testsuite/29_atomics/atomic_float

[PATCH] testsuite: arm: Use -Os in memset-inline-8* tests

2024-12-22 Thread Torbjörn SVENSSON
n, use -Os. gcc/testsuite/ChangeLog: * gcc.target/arm/memset-inline-8.c: Use -Os and prefix assembler instructions with a tab to improve test stability. * gcc.target/arm/memset-inline-8-exe.c: Use -Os. Signed-off-by: Torbjörn SVENSSON --- gcc/testsuite/gcc.target/arm/memse

[PATCH] testsuite: arm: C++26 uses __equal() instead of operator==()

2024-12-18 Thread Torbjörn SVENSSON
Ok for trunk? -- Update test case to align with used function in C++26. gcc/testsuite/ChangeLog: * g++.dg/abi/arm_rtti1.C: Check for expected symbol in C++26. Signed-off-by: Torbjörn SVENSSON --- gcc/testsuite/g++.dg/abi/arm_rtti1.C | 3 ++- 1 file changed, 2 insertions(+), 1

[PATCH v3] testsuite: arm: Use effective-target for memset-inline* tests

2024-12-18 Thread Torbjörn SVENSSON
* gcc.target/arm/memset-inline-4-exe.c: New test. * gcc.target/arm/memset-inline-5-exe.c: Likewise. * gcc.target/arm/memset-inline-6-exe.c: Likewise. * gcc.target/arm/memset-inline-8-exe.c: Likewise. * gcc.target/arm/memset-inline-9-exe.c: Likewise. Signed-off-b

[PATCH v2] testsuite: arm: Use effective-target for memset-inline* tests

2024-12-18 Thread Torbjörn SVENSSON
inline-5.c: Likewise. * gcc.target/arm/memset-inline-6.c: Likewise. * gcc.target/arm/memset-inline-4-exe.c: New test. * gcc.target/arm/memset-inline-5-exe.c: Likewise. * gcc.target/arm/memset-inline-6-exe.c: Likewise. Signed-off-by: Torbjörn SVENSSON --- gcc/testsuite/gcc.target

[PATCH] testsuite: arm: Check for short circuit instructions [PR103298]

2024-12-18 Thread Torbjörn SVENSSON
it's very unstable (depends on optimization in use). gcc/testsuite/ChangeLog: PR testsuite/103298 * gcc.target/arm/pr43920-2.c: Change to assembler pattern "(cmp|mov|orr|and)(eq|ne)" for the check. Remove size check. Signed-off-by: Torbjörn SVENSSON ---

[PATCH] arm: Properly escape tab, newline and semicolon in thumb1.md

2024-12-17 Thread Torbjörn SVENSSON
://linaro.atlassian.net/browse/GNU-1464. gcc/ChangeLog: * config/arm/thumb1.md (thumb1_cbz): Escape tab, newline and semicolon. Signed-off-by: Torbjörn SVENSSON --- gcc/config/arm/thumb1.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gcc/config/arm/thumb1.md

[PATCH] testsuite: arm: Add -mtune to all arm_cpu_* effective targets

2024-12-16 Thread Torbjörn SVENSSON
: Torbjörn SVENSSON --- gcc/testsuite/lib/target-supports.exp | 24 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/gcc/testsuite/lib/target-supports.exp b/gcc/testsuite/lib/target-supports.exp index fe2970e024b..34a9b4d3816 100644 --- a/gcc/testsuite/lib

[PATCH] c and c++: Make sure LHS and RHS has identical named types [PR116060]

2024-12-16 Thread Torbjörn SVENSSON
ds-diagram-11.c: Likewise. gcc.dg/analyzer/out-of-bounds-diagram-10.c: Likewise. Signed-off-by: Torbjörn SVENSSON --- gcc/c/c-typeck.cc | 3 ++ gcc/cp/call.cc| 9 ++ .../analyzer/out-of-bounds-diagram-

[PATCH] testsuite: arm: Use correct the expected asm in epilog-1.c test

2024-11-26 Thread Torbjörn SVENSSON
, [r4] addsr4, r2, #1 tst r5, #4 it ne movne r2, r4 bl bar movsr0, #0 pop {r3, r4, r5, pc} gcc/testsuite/ChangeLog: * gcc.target/arm/epilog-1.c: Corrected armv8.1.m-main asm. Signed-off-by: Torbjörn SVENSSON ---

[PATCH v2] testsuite: arm: Check that a far jump is used in thumb1-far-jump-2.c

2024-11-22 Thread Torbjörn SVENSSON
o to avoid optimization. Signed-off-by: Torbjörn SVENSSON --- .../gcc.target/arm/thumb1-far-jump-2.c| 95 ++- 1 file changed, 51 insertions(+), 44 deletions(-) diff --git a/gcc/testsuite/gcc.target/arm/thumb1-far-jump-2.c b/gcc/testsuite/gcc.target/arm/thumb1-far-jump-2.c index 7

[PATCH] testsuite: arm: Use -mtune=cortex-m4 for thumb-ifcvt.c test

2024-11-21 Thread Torbjörn SVENSSON
: * gcc.target/arm/thumb-ifcvt.c: Use -mtune=cortex-m4. Signed-off-by: Torbjörn SVENSSON --- gcc/testsuite/gcc.target/arm/thumb-ifcvt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/testsuite/gcc.target/arm/thumb-ifcvt.c b/gcc/testsuite/gcc.target/arm/thumb-ifcvt.c index

[PATCH] testsuite: arm: Fix build error for thumb2-slow-flash-data-3.c test

2024-11-21 Thread Torbjörn SVENSSON
* gcc.target/arm/thumb2-slow-flash-data-3.c: Added argument to fn1 to avoid compile error. Signed-off-by: Torbjörn SVENSSON --- gcc/testsuite/gcc.target/arm/thumb2-slow-flash-data-3.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/testsuite/gcc.target/arm/thumb2-s

[PATCH v2 2/5] testsuite: arm: Use -march=unset for bfloat16_scalar* tests

2024-11-21 Thread Torbjörn SVENSSON
effective-target v8_2a_bf16 and v8_2a_bf16_hard. Signed-off-by: Torbjörn SVENSSON --- gcc/testsuite/gcc.target/arm/bfloat16_scalar_1_1.c | 7 +++ gcc/testsuite/gcc.target/arm/bfloat16_scalar_1_2.c | 5 ++--- gcc/testsuite/gcc.target/arm/bfloat16_scalar_2_1.c | 5 ++--- gcc/testsuite

[PATCH v2 0/5] testsuite: arm: Leverage -mcpu=unset/-march=unset

2024-11-21 Thread Torbjörn SVENSSON
Hi, Changes since v1: - Pushed part of the patch serie that was ok'ed. - Updated the remaining patches based on the review comments. Please let me know if I missed something. Ok for trunk? Kind regards, Torbjörn

[PATCH v2 3/5] testsuite: arm: Use -mcpu=unset when overriding -march

2024-11-21 Thread Torbjörn SVENSSON
Update test cases to use -mcpu=unset/-march=unset feature introduced in r15-3606-g7d6c6a0d15c. gcc/testsuite/ChangeLog: * gcc.dg/pr41574.c: Added option "-mcpu=unset". * gcc.dg/pr59418.c: Likewise. * lib/target-supports.exp (add_options_for_vect_early_break): Likewi

[PATCH v2 4/5] testsuite: arm: Use effective-target for its.c test [PR94531]

2024-11-21 Thread Torbjörn SVENSSON
: Copy of gcc.target/arm/its.c. Use effective-target arm_cpu_cortex_m3. Signed-off-by: Torbjörn SVENSSON --- .../gcc.target/arm/{its.c => its-1.c} | 5 ++-- gcc/testsuite/gcc.target/arm/its-2.c | 24 +++ 2 files changed, 27 insertions(+), 2 deleti

[PATCH v2 5/5] testsuite: arm: Use effective-target for pr96939 test

2024-11-21 Thread Torbjörn SVENSSON
Update test case to use -mcpu=unset/-march=unset feature introduced in r15-3606-g7d6c6a0d15c. gcc/testsuite/ChangeLog: * gcc.target/arm/lto/pr96939_0.c: Use effective-target arm_arch_v8a. * gcc.target/arm/lto/pr96939_1.c: Remove dg-options. Signed-off-by: Torbjörn

[PATCH v2 1/5] testsuite: arm: Use effective-target for pr56184.C and pr59985.C

2024-11-21 Thread Torbjörn SVENSSON
. * lib/target-supports.exp: Define effective-target arm_arch_v7a_fp_hard, arm_arch_v7a_neon_thumb Signed-off-by: Torbjörn SVENSSON --- gcc/testsuite/g++.dg/other/pr56184.C | 7 +-- gcc/testsuite/g++.dg/other/pr59985.C | 7 --- gcc/testsuite/lib/target-supports.exp | 2 ++ 3

[PATCH 00/17] testsuite: arm: Leverage -mcpu=unset/-march=unset

2024-11-20 Thread Torbjörn SVENSSON
Hi, This patch set tries to reduce the number of failed test cases for ARM based targets by leveraging the -mcpu=unset/-march=unset feature introduced in r15-3606-g7d6c6a0d15c. With the patch set applied, the test cases listed below will be reported as "regressions", but it's really that the te

[PATCH 16/17] testsuite: arm: Use effective-target for its.c test [PR94531]

2024-11-19 Thread Torbjörn SVENSSON
: Copy of gcc.target/arm/its.c. Use effective-target arm_cpu_cortex_m3. Signed-off-by: Torbjörn SVENSSON --- .../gcc.target/arm/{its.c => its-1.c} | 7 +++--- gcc/testsuite/gcc.target/arm/its-2.c | 24 +++ 2 files changed, 28 insertions(+), 3 deleti

[PATCH 02/17] testsuite: arm: Use effective-target for pacbti-m-predef* tests

2024-11-19 Thread Torbjörn SVENSSON
. * gcc.target/arm/acle/pacbti-m-predef-9.c: Likewise. * gcc.target/arm/acle/pacbti-m-predef-10.c: Likewise. * gcc.target/arm/acle/pacbti-m-predef-11.c: Likewise. Signed-off-by: Torbjörn SVENSSON --- gcc/testsuite/gcc.target/arm/acle/pacbti-m-predef-1.c | 4 +++- gcc/testsuite

[PATCH 14/17] testsuite: arm: Use -march=unset for pr69175.C test

2024-11-19 Thread Torbjörn SVENSSON
Update test cases to use -mcpu=unset/-march=unset feature introduced in r15-3606-g7d6c6a0d15c. gcc/testsuite/ChangeLog: * g++.dg/opt/pr69175.C: Added option "-mcpu=unset". Signed-off-by: Torbjörn SVENSSON --- gcc/testsuite/g++.dg/opt/pr69175.C | 2 +- 1 file changed, 1 inser

[PATCH 12/17] testsuite: arm: Use -march=unset for bfloat16_scalar* tests

2024-11-19 Thread Torbjörn SVENSSON
target/arm/bfloat16_scalar_2_2.c: Likewise. * gcc.target/arm/bfloat16_scalar_3_1.c: Likewise. * gcc.target/arm/bfloat16_scalar_3_2.c: Likewise. Signed-off-by: Torbjörn SVENSSON --- gcc/testsuite/gcc.target/arm/bfloat16_scalar_1_2.c | 2 +- gcc/testsuite/gcc.target/arm/bfloat16_scalar

[PATCH 11/17] testsuite: arm: Use effective-target for pr56184.C and pr59985.C

2024-11-19 Thread Torbjörn SVENSSON
arm_arch_v7a_neon and arm_arch_v7a_arm. * lib/target-supports.exp: Define effective-target arm_arch_v7a_thumb. Signed-off-by: Torbjörn SVENSSON --- gcc/testsuite/g++.dg/other/pr56184.C | 8 ++-- gcc/testsuite/g++.dg/other/pr59985.C | 7 +-- gcc/testsuite/lib/target-supports.exp

[PATCH 17/17] testsuite: arm: Use effective-target for pr96939 test

2024-11-19 Thread Torbjörn SVENSSON
Update test case to use -mcpu=unset/-march=unset feature introduced in r15-3606-g7d6c6a0d15c. gcc/testsuite/ChangeLog: * gcc.target/arm/lto/pr96939_0.c: Use effective-target arm_arch_v8a. * gcc.target/arm/lto/pr96939_1.c: Remove dg-options. Signed-off-by: Torbjörn

[PATCH 15/17] testsuite: arm: Use -mcpu=unset when overriding -march

2024-11-19 Thread Torbjörn SVENSSON
Update test cases to use -mcpu=unset/-march=unset feature introduced in r15-3606-g7d6c6a0d15c. gcc/testsuite/ChangeLog: * gcc.dg/pr41574.c: Added option "-mcpu=unset". * gcc.dg/pr59418.c: Likewise. * lib/target-supports.exp (add_options_for_vect_early_break): Likewi

[PATCH 07/17] testsuite: arm: Use effective-target for {gcc, g++}.target/arm/ tests

2024-11-19 Thread Torbjörn SVENSSON
-supports.exp: Define effective-target arm_cpu_cortex_m3, arm_cpu_cortex_m4, arm_cpu_cortex_m7 and arm_cpu_cortex_m55. Signed-off-by: Torbjörn SVENSSON --- gcc/testsuite/g++.target/arm/pr103676.C | 5 - gcc/testsuite/gcc.target/arm/fma-sp.c | 8

[PATCH 09/17] testsuite: arm: Use effective-target for nomve_fp_1.c test

2024-11-19 Thread Torbjörn SVENSSON
Update test cases to use -mcpu=unset/-march=unset feature introduced in r15-3606-g7d6c6a0d15c. gcc/testsuite/ChangeLog: * g++.target/arm/mve/general-c++/nomve_fp_1.c: Added option "-mcpu=unset". Signed-off-by: Torbjörn SVENSSON --- gcc/testsuite/g++.target/arm/mve

[PATCH 13/17] testsuite: arm: Use -march=unset for cortex-m55* tests

2024-11-19 Thread Torbjörn SVENSSON
-m55-nomve-flag-hard.c: Likewise. * gcc.target/arm/cortex-m55-nomve-flag-softfp.c: Likewise. * gcc.target/arm/cortex-m55-nomve.fp-flag-hard.c: Likewise. * gcc.target/arm/cortex-m55-nomve.fp-flag-softfp.c: Likewise. Signed-off-by: Torbjörn SVENSSON --- gcc/testsuite/gcc.

[PATCH 06/17] testsuite: arm: Use effective-target for thumb2-slow-flash-data* tests

2024-11-19 Thread Torbjörn SVENSSON
target/arm/thumb2-slow-flash-data-3.c: Likewise. * gcc.target/arm/thumb2-slow-flash-data-4.c: Likewise. * gcc.target/arm/thumb2-slow-flash-data-5.c: Likewise. Signed-off-by: Torbjörn SVENSSON --- gcc/testsuite/gcc.target/arm/thumb2-slow-flash-data-2.c | 7 +++ gcc/testsuite/gcc.

[PATCH 08/17] testsuite: arm: Use effective-target for vect-early-break-cbranch test

2024-11-19 Thread Torbjörn SVENSSON
Update test cases to use -mcpu=unset/-march=unset feature introduced in r15-3606-g7d6c6a0d15c. gcc/testsuite/ChangeLog: * gcc.target/arm/vect-early-break-cbranch.c: Use effective-target arm_arch_v8a_hard. Signed-off-by: Torbjörn SVENSSON --- gcc/testsuite/gcc.target/arm/vect

[PATCH 04/17] testsuite: arm: Use effective-target for pure-code/* tests

2024-11-19 Thread Torbjörn SVENSSON
effective-target arm_cpu_cortex-m23. * gcc.target/arm/pure-code/pr109800.c: Use effective-target arm_arch_v7m and added option "-mcpu=unset". * target-supports.exp: Define effective-target arm_cpu_cortex_m0 and arm_cpu_cortex_m23. Signed-off-by: Torbjör

[PATCH 10/17] testsuite: arm: Use effective target for pr57735.C test

2024-11-19 Thread Torbjörn SVENSSON
Update test cases to use -mcpu=unset/-march=unset feature introduced in r15-3606-g7d6c6a0d15c. gcc/testsuite/ChangeLog: * g++.dg/ext/pr57735.C: Use effective-target arm_cpu_xscale_arm. Signed-off-by: Torbjörn SVENSSON --- gcc/testsuite/g++.dg/ext/pr57735.C | 7 +++ 1 file changed

[PATCH 05/17] testsuite: arm: Use effective-target for small-multiply-m* tests

2024-11-19 Thread Torbjörn SVENSSON
ply-m1-1.c: Likewise. * gcc.target/arm/small-multiply-m1-2.c: Likewise. * gcc.target/arm/small-multiply-m1-3.c: Likewise. Signed-off-by: Torbjörn SVENSSON --- gcc/testsuite/gcc.target/arm/small-multiply-m0-1.c | 4 ++-- gcc/testsuite/gcc.target/arm/small-multiply-m0-2.c | 4

[PATCH 03/17] testsuite: arm: Use effective-target for crc_hf_1.c test

2024-11-19 Thread Torbjörn SVENSSON
Update test cases to use -mcpu=unset/-march=unset feature introduced in r15-3606-g7d6c6a0d15c. gcc/testsuite/ChangeLog: * gcc.target/arm/acle/crc_hf_1.c: Use effective-target arm_arch_v8a_hard and added option "-mcpu=unset". Signed-off-by: Torbjörn SVENSSON --- gcc

[PATCH 01/17] testsuite: arm: Use effective-target for bti* and pac* tests

2024-11-19 Thread Torbjörn SVENSSON
ive-target arm_arch_v8_1m_main_pacbti and added option "-mcpu=unset". Signed-off-by: Torbjörn SVENSSON Co-authored-by: Yvan ROUX --- gcc/testsuite/gcc.target/arm/pac-1.c | 4 +++- gcc/testsuite/gcc.target/arm/pac-10.c | 4 +++- gcc/testsuite/gcc.target/arm/pac-11.c | 4 +++- gcc/

[PATCH v2] testsuite: arm: Only check for literal pools in no-literal-pool-m0.c

2024-11-18 Thread Torbjörn SVENSSON
hecks that there is no literal pool generated. gcc/testsuite/ChangeLog: * gcc.target/arm/pure-code/no-literal-pool-m0.c: Only check for literal pools. Signed-off-by: Torbjörn SVENSSON --- .../arm/pure-code/no-literal-pool-m0.c| 110 ++ 1 file changed, 9

[PATCH] testsuite: arm: Mark pr81812.C as xfail for thumb1

2024-11-10 Thread Torbjörn SVENSSON
targets does not support empty virtual functions with ellipsis. gcc/testsuite/ChangeLog: * g++.dg/torture/pr81812.C: Add xfail for thumb1. Signed-off-by: Torbjörn SVENSSON --- gcc/testsuite/g++.dg/torture/pr81812.C | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gcc/testsuite/g++.dg

[PATCH] testsuite: arm: Prune incremental link warning

2024-11-10 Thread Torbjörn SVENSSON
Signed-off-by: Torbjörn SVENSSON --- gcc/testsuite/gcc.target/arm/lto/lto.exp | 9 + 1 file changed, 9 insertions(+) diff --git a/gcc/testsuite/gcc.target/arm/lto/lto.exp b/gcc/testsuite/gcc.target/arm/lto/lto.exp index 4ccb0737253..3f8377bdd3e 100644 --- a/gcc/testsuite/gcc.target/arm/l

[PATCH] testsuite: arm: fast-math-complex-add-half-float.c test should not xfail

2024-11-10 Thread Torbjörn SVENSSON
Ok for trunk? -- With the change in 15-3128-gde1923f9f4d, this test case no longer xfail. gcc/testsuite/ChangeLog: * gcc.dg/vect/complex/fast-math-complex-add-half-float.c: Remove xfail from test. Signed-off-by: Torbjörn SVENSSON --- .../gcc.dg/vect/complex/fast-math-complex

[PATCH] testsuite: arm: Update expected RTL for reg_equal_test.c test

2024-11-10 Thread Torbjörn SVENSSON
cc.target/arm/reg_equal_test.c: Update expected RTL. Signed-off-by: Torbjörn SVENSSON --- gcc/testsuite/gcc.target/arm/reg_equal_test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/testsuite/gcc.target/arm/reg_equal_test.c b/gcc/testsuite/gcc.target/arm/reg_equal_test.c

[PATCH] testsuite: arm: Update expected assembler for pr43920-2.c test

2024-11-10 Thread Torbjörn SVENSSON
og: PR testsuite/103298 * gcc.target/arm/pr43920-2.c: Increase allowed text size and lower number of expected pop instructions. Signed-off-by: Torbjörn SVENSSON --- gcc/testsuite/gcc.target/arm/pr43920-2.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

[PATCH v3] testsuite: arm: Use effective-target for attr-neon* tests

2024-11-10 Thread Torbjörn SVENSSON
/attr-neon-builtin-fail2.c: Likewise. * gcc.target/arm/attr-neon-fp16.c: Likewise. * gcc.target/arm/attr-neon2.c: Likewise. Signed-off-by: Torbjörn SVENSSON --- gcc/testsuite/gcc.target/arm/attr-neon-builtin-fail.c | 7 --- gcc/testsuite/gcc.target/arm/attr-neon-builtin-fail2

[PATCH] testsuite: arm: Use effective-target for unsigned-extend-1.c

2024-11-08 Thread Torbjörn SVENSSON
/ChangeLog: * gcc.target/arm/unsigned-extend-1.c: Use effective-target arm_arm_ok. Signed-off-by: Torbjörn SVENSSON --- gcc/testsuite/gcc.target/arm/unsigned-extend-1.c | 1 + 1 file changed, 1 insertion(+) diff --git a/gcc/testsuite/gcc.target/arm/unsigned-extend-1.c b/gcc/testsuite

[PATCH] testsuite: arm: Check that a far jump is used in thumb1-far-jump-2.c

2024-11-08 Thread Torbjörn SVENSSON
/ChangeLog: * gcc.target/arm/thumb1-far-jump-2.c: Force a read of volatile memory in macro to avoid optimization. Signed-off-by: Torbjörn SVENSSON --- gcc/testsuite/gcc.target/arm/thumb1-far-jump-2.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/gcc/testsuite/gcc.

[PATCH] testsuite: arm: Use effective-target for pr68674.c test

2024-11-08 Thread Torbjörn SVENSSON
Ok for trunk and releases/gcc-14? -- gcc/testsuite/ChangeLog: * gcc.target/arm/pr68674.c: Use effective-target arm_arch_v7a and arm_libc_fp_abi. Signed-off-by: Torbjörn SVENSSON --- gcc/testsuite/gcc.target/arm/pr68674.c | 7 --- 1 file changed, 4 insertions(+), 3

[PATCH v2] testsuite: arm: Use effective-target for pr84556.cc test

2024-11-08 Thread Torbjörn SVENSSON
#x27;s support for simd operations for Arm targets. The actual selection of default operation is performed in check_vect_support_and_set_flags. gcc/testsuite/ChangeLog: * g++.dg/vect/pr84556.cc: Change from "dg-do run" with selector to instead use dg-require-effective-target

[PATCH v2] testsuite: arm: Use check-function-bodies in epilog-1.c test

2024-11-08 Thread Torbjörn SVENSSON
csinc r2, r2, r2, eq bl bar movsr0, #0 pop {r3, r4, r5, pc} gcc/testsuite/ChangeLog: * gcc.target/arm/epilog-1.c: Use check-function-bodies. Signed-off-by: Torbjörn SVENSSON --- gcc/testsuite/gcc.target/arm/epilog-1.c | 24 +--- 1

[PATCH] testsuite: arm: Use check-function-bodies in epilog-1.c test

2024-11-07 Thread Torbjörn SVENSSON
. gcc/testsuite/ChangeLog: * gcc.target/arm/epilog-1.c: Use check-function-bodies. Signed-off-by: Torbjörn SVENSSON --- gcc/testsuite/gcc.target/arm/epilog-1.c | 18 +++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/gcc/testsuite/gcc.target/arm/epilog-1.c

[PATCH v2] testsuite: arm: Use effective-target arm_libc_fp_abi for pr68620.c test

2024-11-07 Thread Torbjörn SVENSSON
/ChangeLog: * gcc.target/arm/pr68620.c: Use effective-target arm_libc_fp_abi. * lib/target-supports.exp: Define effective-target arm_libc_fp_abi. Signed-off-by: Torbjörn SVENSSON Co-authored-by: Richard Earnshaw --- gcc/testsuite/gcc.target/arm/pr68620.c | 4 ++- gcc

[PATCH] testsuite: arm: Allow vst1.32 instruction in pr40457-2.c

2024-11-07 Thread Torbjörn SVENSSON
ruction. Signed-off-by: Torbjörn SVENSSON --- gcc/testsuite/gcc.target/arm/pr40457-2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/testsuite/gcc.target/arm/pr40457-2.c b/gcc/testsuite/gcc.target/arm/pr40457-2.c index 31624d35127..5f742a3029a 100644 --- a/gcc/test

[PATCH v2] arm: Don't ICE on arm_mve.h pragma without MVE types [PR117408]

2024-11-07 Thread Torbjörn SVENSSON
* config/arm/arm-mve-builtins.cc(handle_arm_mve_h): Detect if MVE types are missing and if so, return error. gcc/testsuite/ChangeLog: PR target/117408 * gcc.target/arm/mve/pr117408-1.c: New test. * gcc.target/arm/mve/pr117408-2.c: Likewise. Signed-off-by: Torbjörn SVENSSON ---

[PATCH] testsuite: arm: Use effective-target for pr84556.cc test

2024-11-06 Thread Torbjörn SVENSSON
to instead use dg-require-effective-target with the same selector. Signed-off-by: Torbjörn SVENSSON --- gcc/testsuite/g++.dg/vect/pr84556.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/testsuite/g++.dg/vect/pr84556.cc b/gcc/testsuite/g++.dg/vect/pr84556.

[PATCH] testsuite: arm: Use effective-target arm_fp for pr68620.c test

2024-11-05 Thread Torbjörn SVENSSON
/testsuite/ChangeLog: * gcc.target/arm/pr68620.c: Use effective-target arm_fp. Signed-off-by: Torbjörn SVENSSON --- gcc/testsuite/gcc.target/arm/pr68620.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/gcc/testsuite/gcc.target/arm/pr68620.c b/gcc/testsuite/gcc.target/arm

[PATCH v2] testsuite: arm: Use effective-target for attr-neon* tests

2024-11-05 Thread Torbjörn SVENSSON
-target arm_arch_v7a. * gcc.target/arm/attr-neon-builtin-fail2.c: Likewise. * gcc.target/arm/attr-neon-fp16.c: Likewise. * gcc.target/arm/attr-neon2.c: Likewise. Signed-off-by: Torbjörn SVENSSON --- gcc/testsuite/gcc.target/arm/attr-neon-builtin-fail.c | 2 ++ gcc

[PATCH] testsuite: arm: Require 16-bit float support

2024-11-05 Thread Torbjörn SVENSSON
/target-supports.exp (check_effective_target_arm_v8_2a_fp16_scalar_ok_nocache): Check that 16-bit float is supported. (check_effective_target_arm_v8_2a_fp16_neon_ok_nocache): Check that neon is used and that 16-bit float is supported. Signed-off-by: Torbjörn SVENSSON --- gcc/testsuite/lib

[PATCH v2] testsuite: arm: Use effective-target for pr68620 and pr78041 tests

2024-11-05 Thread Torbjörn SVENSSON
Changes since v1: - Force arm_arch_v7a as a baseline for pr68620.c. Ok for trunk and releases/gcc-14? -- gcc/testsuite/ChangeLog: * gcc.target/arm/pr68620.c: Use effective-target arm_neon. * gcc.target/arm/pr78041.c: Use effective-target arm_arch_v7a. Signed-off-by: Torbjörn

[PATCH] testsuite: arm: Use effective-target for pr98636.c test

2024-11-05 Thread Torbjörn SVENSSON
/pr98636.c: Use effective-target arm_fp16_alternative. Signed-off-by: Torbjörn SVENSSON --- gcc/testsuite/gcc.target/arm/pr98636.c | 1 + 1 file changed, 1 insertion(+) diff --git a/gcc/testsuite/gcc.target/arm/pr98636.c b/gcc/testsuite/gcc.target/arm/pr98636.c index 559f9a26c1e

[PATCH] arm: Don't ICE on arm_mve.h pragma without MVE types [PR117408]

2024-11-01 Thread Torbjörn SVENSSON
c(handle_arm_mve_h): Detect if MVE types is missing and if so, return error. gcc/testsuite/ChangeLog: PR target/117408 * gcc.target/arm/mve/pr117408-1.c: New test. * gcc.target/arm/mve/pr117408-2.c: Likewise. Signed-off-by: Torbjörn SVENSSON --- gcc/config/arm/arm-mve-bui

[PATCH] testsuite: arm: Use effective-target for nomve_fp_1 test

2024-10-31 Thread Torbjörn SVENSSON
Ok for trunk and releases/gcc-14? -- Test uses MVE, so add effective-target arm_fp requirement. gcc/testsuite/ChangeLog: * g++.target/arm/mve/general-c++/nomve_fp_1.c: Use effective-target arm_fp. Signed-off-by: Torbjörn SVENSSON --- gcc/testsuite/g++.target/arm/mve/general

[PATCH] testsuite: arm: Force hard ABI for pr51534.c test

2024-10-31 Thread Torbjörn SVENSSON
.c: Ensure -mfloat-abi=hard is used. Signed-off-by: Torbjörn SVENSSON --- gcc/testsuite/gcc.target/arm/pr51534.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gcc/testsuite/gcc.target/arm/pr51534.c b/gcc/testsuite/gcc.target/arm/pr51534.c index ba21259bee5..b68ecce2639

[PATCH] testsuite: arm: Use effective-target for pr68620 and pr78041 tests

2024-10-31 Thread Torbjörn SVENSSON
Ok for trunk and releases/gcc-14? -- Tests uses neon, so add effective-target arm_neon. gcc/testsuite/ChangeLog: * gcc.target/arm/pr68620.c: Use effective-target arm_neon. * gcc.target/arm/pr78041.c: Likewise. Signed-off-by: Torbjörn SVENSSON --- gcc/testsuite/gcc.target/arm

[PATCH] testsuite: arm: Update expected asm in armv8_2-fp16-neon-2.c

2024-10-24 Thread Torbjörn SVENSSON
/testsuite/ChangeLog: * gcc.target/arm/armv8_2-fp16-neon-2.c: Expect 3 vdup.16 q* r* when in arm_hf_eabi else 2. Signed-off-by: Torbjörn SVENSSON --- gcc/testsuite/gcc.target/arm/armv8_2-fp16-neon-2.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gcc/testsuite

[PATCH] testsuite: arm: Use effective-target for memset-inline* tests

2024-10-24 Thread Torbjörn SVENSSON
. * gcc.target/arm/memset-inline-5.c: Likewise. * gcc.target/arm/memset-inline-6.c: Likewise. Signed-off-by: Torbjörn SVENSSON --- gcc/testsuite/gcc.target/arm/memset-inline-4.c | 1 + gcc/testsuite/gcc.target/arm/memset-inline-5.c | 1 + gcc/testsuite/gcc.target/arm/memset-inline-6.c | 1 + 3 files

[PATCH] testsuite: arm: Use effective-target for attr-neon* tests

2024-10-20 Thread Torbjörn SVENSSON
: Likewise. * gcc.target/arm/attr-neon-fp16.c: Likewise. * gcc.target/arm/attr-neon2.c: Likewise. Signed-off-by: Torbjörn SVENSSON --- gcc/testsuite/gcc.target/arm/attr-neon-builtin-fail.c | 1 + gcc/testsuite/gcc.target/arm/attr-neon-builtin-fail2.c | 2 ++ gcc/testsuite

[PATCH] testsuite: arm: Relax expected asm in bitfield* and union-2 tests

2024-10-20 Thread Torbjörn SVENSSON
: Likewise. * gcc.target/arm/cmse/mainline/8_1m/bitfield-8.c: Likewise. * gcc.target/arm/cmse/mainline/8_1m/bitfield-and-union.c: Likewise. * gcc.target/arm/cmse/mainline/8_1m/union-2.c: Likewise. Signed-off-by: Torbjörn SVENSSON --- gcc/testsuite/gcc.target/arm/cmse

[PATCH] testsuite: arm: Use check-function-bodies in fp16-aapcs-* tests

2024-10-20 Thread Torbjörn SVENSSON
. * gcc.target/arm/fp16-aapcs-3.c: Likewise. * gcc.target/arm/fp16-aapcs-4.c: Likewise. Signed-off-by: Torbjörn SVENSSON --- gcc/testsuite/gcc.target/arm/fp16-aapcs-1.c | 53 ++-- gcc/testsuite/gcc.target/arm/fp16-aapcs-2.c | 33 ++--- gcc/testsuite/gcc.target/arm/fp16

[PATCH] testsuite: arm: Use check-function-bodies in cmse-5 tests

2024-10-20 Thread Torbjörn SVENSSON
. * gcc.target/arm/cmse/mainline/8m.1/softfp-sp/cmse-5.c: Likewise. * gcc.target/arm/cmse/mainline/8m.1/softfp/cmse-5.c: Likewise. Signed-off-by: Torbjörn SVENSSON --- .../arm/cmse/mainline/8_1m/hard-sp/cmse-5.c | 15 ++- .../arm/cmse/mainline/8_1m/hard/cmse-5.c | 15 ++- .../arm

[PATCH] testsuite: arm: Relax cbranch tests to accept inverted branches

2024-10-19 Thread Torbjörn SVENSSON
Ok for trunk and releases/gcc-14? -- Similar to PR113502, but for non-aarch64 test. The test started to fail after r14-7243-gafac1bd3365. gcc/testsuite/ChangeLog: * gcc.target/arm/vect-early-break-cbranch.c: Ignore exact branch. Signed-off-by: Torbjörn SVENSSON

[PATCH] testsuite: arm: Use effective-target for data-intrinsics-assembly test

2024-10-19 Thread Torbjörn SVENSSON
Ok for trunk and releases/gcc-14? -- The expected assembler in the test case assumes -marm, so explicily require it. gcc/testsuite/ChangeLog: * gcc.target/arm/acle/data-intrinsics-assembly.c: Use effective-target arm_arch_v6_arm. Signed-off-by: Torbjörn SVENSSON --- gcc

[PATCH] testsuite: arm: Relax register selection [PR116623]

2024-10-19 Thread Torbjörn SVENSSON
estsuite/116623 * gcc.target/arm/mve/dlstp-compile-asm-2.c: Align test5 and test8 with changes in r15-1619-g3b9b8d6cfdf. Signed-off-by: Torbjörn SVENSSON --- gcc/testsuite/gcc.target/arm/mve/dlstp-compile-asm-2.c | 10 ++ 1 file changed, 6 insertions(+), 4 deletions(-) diff --git

[committed] testsuite: arm: Corrected expected error message for cde-mve-error-1.c

2024-10-18 Thread Torbjörn SVENSSON
Pushed below patch as obivous to trunk. -- gcc/testsuite/ChangeLog: * gcc.target/arm/acle/cde-mve-error-1.c: Corrected quotation in expected error message. Signed-off-by: Torbjörn SVENSSON --- .../gcc.target/arm/acle/cde-mve-error-1.c | 56 +-- 1 file

[PATCH v2] testsuite: Sanitize pacbti test cases for Cortex-M

2024-10-13 Thread Torbjörn SVENSSON
* gcc.target/arm/pac-15.c: Likewise. * gcc.target/arm/pac-sibcall.c: Likewise. Signed-off-by: Torbjörn SVENSSON Co-authored-by: Yvan ROUX --- gcc/testsuite/gcc.target/arm/bti-1.c | 2 +- gcc/testsuite/gcc.target/arm/bti-2.c | 2 +- gcc/testsuite/gcc.target/arm/pac-1.c

[PATCH] testsuite: arm: Update expected asm in no-literal-pool-m0.c

2024-10-13 Thread Torbjörn SVENSSON
-off-by: Torbjörn SVENSSON --- .../arm/pure-code/no-literal-pool-m0.c| 29 ++- 1 file changed, 21 insertions(+), 8 deletions(-) diff --git a/gcc/testsuite/gcc.target/arm/pure-code/no-literal-pool-m0.c b/gcc/testsuite/gcc.target/arm/pure-code/no-literal-pool-m0.c index

[PATCH] testsuite: arm: use effective-target for mod* tests

2024-10-09 Thread Torbjörn SVENSSON
. * gcc.target/arm/mod_256.c: Likewise. Signed-off-by: Torbjörn SVENSSON --- gcc/testsuite/gcc.target/arm/mod_2.c | 2 +- gcc/testsuite/gcc.target/arm/mod_256.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gcc/testsuite/gcc.target/arm/mod_2.c b/gcc/testsuite/gcc.target

[PATCH] testsuite: Define missing and use ET for arm_arch_* and arm_cpu_*

2024-10-07 Thread Torbjörn SVENSSON
: Torbjörn SVENSSON --- gcc/testsuite/gcc.target/arm/mod_2.c| 4 +++- gcc/testsuite/gcc.target/arm/mod_256.c | 4 +++- gcc/testsuite/gcc.target/arm/pr65647.c | 3 ++- gcc/testsuite/gcc.target/arm/vseleqdf.c | 5 +++-- gcc/testsuite/gcc.target/arm/vseleqsf.c | 5 +++-- gcc/testsuite/gcc.target/arm

[PATCH v2] diagnostics: Fix compile error for MinGW <7.0

2024-09-28 Thread Torbjörn SVENSSON
7; failed make[1]: *** [diagnostic-color.o] Error 1 gcc/ChangeLog: * gcc/diagnostic-color.cc: Conditionally enable terminal processing based on define availability. * gcc/pretty-print.cc: Likewise. Signed-off-by: Torbjörn SVENSSON --- gcc/diagnostic-color.cc | 8 +++

[PATCH] diagnostics: Fix compile error for MinGW <7.0

2024-09-26 Thread Torbjörn SVENSSON
Ok for trunk? -- The define ENABLE_VIRTUAL_TERMINAL_PROCESSING was introduced in MinGW 7.0 gcc/ChangeLog: * gcc/diagnostic-color.cc: Conditionally enable terminal processing based on available MinGW version. * gcc/pretty-print.cc: Likewise. Signed-off-by: Torbjörn

[PATCH v2] testsuite: Sanitize pacbti test cases for Cortex-M

2024-09-06 Thread Torbjörn SVENSSON
.target/arm/pac-15.c: Enable for Cortex-M(52|55|85). Signed-off-by: Torbjörn SVENSSON Co-authored-by: Yvan ROUX --- gcc/testsuite/gcc.target/arm/bti-1.c | 4 ++-- gcc/testsuite/gcc.target/arm/bti-2.c | 4 ++-- gcc/testsuite/gcc.target/arm/pac-1.c | 4 ++-- gcc/testsuite/gcc

[PATCH] testsuite: Sanitize pacbti test cases for Cortex-M

2024-09-03 Thread Torbjörn SVENSSON
/bti-1.c: Enable for Cortex-M(52|55|85) and check for \tbti. * gcc.target/arm/bti-2.c: Likewise. * gcc.target/arm/pac-15.c: Likewise. * gcc.target/arm/pac-4.c: Check for \tbti. * gcc.target/arm/pac-6.c: Likewise. Signed-off-by: Torbjörn SVENSSON Co-authored-by:

[pushed] [PATCH] testsuite: Fix ending of comment in test cases

2024-08-27 Thread Torbjörn SVENSSON
/pr52076-2.c: Likewise. * gcc.target/nvptx/v2si-vec-set-extract.c: Likewise. Signed-off-by: Torbjörn SVENSSON --- gcc/testsuite/gcc.dg/pr108757-1.c | 2 +- gcc/testsuite/gcc.dg/pr71071.c| 2 +- gcc/testsuite/gcc.dg/tree-ssa/noreturn-1.c

[committed] testsuite: Prune warning about size of enums

2024-08-19 Thread Torbjörn SVENSSON
Committed as obvious in r15-3017 and r14-10602. -- This fixes reported regression at https://linaro.atlassian.net/browse/GNU-1315. gcc/testsuite/ChangeLog: * g++.dg/warn/pr33738-2.C: dg-prune arm linker messages about size of enums. Signed-off-by: Torbjörn SVENSSON --- gcc

[PATCH] testsuite: Add -fno-short-enums to pr97315-1.C

2024-08-16 Thread Torbjörn SVENSSON
dth of 'tree_base::code' exceeds its type Avoid the warning by forcing -fno-short-enums. gcc/testsuite/ChangeLog: * g++.dg/opt/pr97315-1.C: Add -fno-short-enums. Signed-off-by: Torbjörn SVENSSON --- gcc/testsuite/g++.dg/opt/pr97315-1.C | 2 +- 1 file changed, 1 insertion(+

[PATCH v2] testsuite: Verify -fshort-enums and -fno-short-enums in pr33738.C

2024-08-16 Thread Torbjörn SVENSSON
arn/pr33738-2.C: Duplicate g++.dg/warn/pr33738.C with -fshort-enums and removed xfail. Signed-off-by: Torbjörn SVENSSON --- gcc/testsuite/g++.dg/warn/pr33738-2.C | 27 +++ gcc/testsuite/g++.dg/warn/pr33738.C | 3 ++- 2 files changed, 29 insertions(+), 1 deleti

[PATCH] testsuite: Add -fshort-enums to pr33738.C

2024-08-16 Thread Torbjörn SVENSSON
hat does not, force the option in the test case and verify that the warning is emitted. Regtested on x86_64-pc-linux-gnu and arm-none-eabi. gcc/testsuite/ChangeLog: * g++.dg/warn/pr33738.C: Added -fshort-enums and removed xfail. Signed-off-by: Torbjörn SVENSSON --- gcc/testsuite/g++

[PATCH] testsuite: Add -fwrapv to signbit-5.c

2024-08-16 Thread Torbjörn SVENSSON
64-pc-linux and arm-none-eabi for Cortex-M0/M3/M4/M7/M33/M55/M85/A7. gcc/testsuite/ChangeLog: * gcc.dg/signbit-5.c: Add -fwrapv and remove x86 exception. Signed-off-by: Torbjörn SVENSSON Co-authored-by: Yvan ROUX --- gcc/testsuite/gcc.dg/signbit-5.c | 3 +-- 1 file changed, 1 insertion(

[PATCH] testuite: Accept vmov.f64

2024-08-14 Thread Torbjörn SVENSSON
Ok for trunk and releases/gcc-14? -- On Cortex-M55 with fpv5-d16, the vmov.f64 instruction is used. gcc/testsuite/ChangeLog: * armv8_1m-fp64-move-1.c: Accept vmov.f64 instruction. Signed-off-by: Torbjörn SVENSSON --- gcc/testsuite/gcc.target/arm/armv8_1m-fp64-move-1.c | 4 +++- 1

[PATCH] testsuite: Avoid running neon test on Cortex-M55

2024-08-13 Thread Torbjörn SVENSSON
which has different size gcc/testsuite/ChangeLog: * attr-neon-builtin-fail2.c: Check ET neon. Signed-off-by: Torbjörn SVENSSON Co-authored-by: Yvan ROUX --- gcc/testsuite/gcc.target/arm/attr-neon-builtin-fail2.c | 1 + 1 file changed, 1 insertion(+) diff --git a/gcc/testsuite/gcc.tar

[PATCH] testsuite: Allow vst1 instruction

2024-07-19 Thread Torbjörn SVENSSON
tions. Signed-off-by: Torbjörn SVENSSON --- gcc/testsuite/gcc.target/arm/pr40457-2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/testsuite/gcc.target/arm/pr40457-2.c b/gcc/testsuite/gcc.target/arm/pr40457-2.c index 31624d35127..6aed42a4fbc 100644 --- a/gcc/testsuite/gcc.targe

[PATCH v3] testsuite: Avoid running incompatible Arm tests

2024-07-17 Thread Torbjörn SVENSSON
-off-by: Torbjörn SVENSSON Co-authored-by: Yvan ROUX --- gcc/testsuite/lib/target-supports.exp | 156 +++--- 1 file changed, 116 insertions(+), 40 deletions(-) diff --git a/gcc/testsuite/lib/target-supports.exp b/gcc/testsuite/lib/target-supports.exp index f001c28072f

[PATCH] testsuite: Disable finate math only for test [PR115826]

2024-07-15 Thread Torbjörn SVENSSON
As the test case requires +-Inf and NaN to work and -ffast-math is added by default for arm-none-eabi, re-enable non-finite math. gcc/testsuite/ChangeLog: PR testsuite/115826 * gcc.dg/vect/tsvc/vect-tsvc-s1281.c: Use -fno-finite-math-only. Signed-off-by: Torbjörn SVENSSON

[PATCH v2] testsuite: Avoid running incompatible Arm tests

2024-07-15 Thread Torbjörn SVENSSON
-by: Torbjörn SVENSSON Co-authored-by: Yvan ROUX --- gcc/testsuite/lib/target-supports.exp | 119 ++ 1 file changed, 83 insertions(+), 36 deletions(-) diff --git a/gcc/testsuite/lib/target-supports.exp b/gcc/testsuite/lib/target-supports.exp index f001c28072f..e142f37b7ac

  1   2   >