Re: [PATCH 1/4] testsuite: Clean up the weak declaration scanning

2025-11-26 Thread feedable
On 11/26/25 2:02 AM, Jeff Law wrote: On 11/23/25 7:07 PM, feedable wrote: Add scan-weak function to testsuite, which would work like scan-hidden, and allow for format-specific regexes ---   gcc/testsuite/gcc.dg/weak/weak-1.c  | 16 +-   gcc/testsuite/gcc.dg/weak/weak-10.c |  2

[PATCH 4/4] testsuite: Fix test requirements

2025-11-23 Thread feedable
Add missing dg-require-effective-target --- gcc/testsuite/c-c++-common/Wdangling-pointer-9.c | 1 + gcc/testsuite/c-c++-common/analyzer/computed-goto-1.c | 1 + gcc/testsuite/c-c++-common/analyzer/infinite-recursion-5.c | 1 + gcc/testsuite/c-c++-common/analyzer/pr102695.c

[PATCH 3/4] testsuite: Fix invalid float test

2025-11-23 Thread feedable
Make floating point test compile on platforms without FE_UPWARD --- gcc/testsuite/gcc.dg/torture/fp-double-convert-float-1.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gcc/testsuite/gcc.dg/torture/fp-double-convert-float-1.c b/gcc/testsuite/gcc.dg/torture/fp-double-conv

[PATCH 1/4] testsuite: Clean up the weak declaration scanning

2025-11-23 Thread feedable
Add scan-weak function to testsuite, which would work like scan-hidden, and allow for format-specific regexes --- gcc/testsuite/gcc.dg/weak/weak-1.c | 16 +- gcc/testsuite/gcc.dg/weak/weak-10.c | 2 +- gcc/testsuite/gcc.dg/weak/weak-11.c | 2 +- gcc/testsuite/gcc.dg/weak/weak-12.c | 2

[PATCH 2/4] testsuite: Move float tests to ieee directory

2025-11-23 Thread feedable
Move tests for signaling floats to ieee directory --- .../ieee/bfloat16-builtin-issignaling-1.c | 11 ++ .../ieee/bfloat16-builtin-issignaling-1.x | 11 ++ .../execute/ieee}/builtin-issignaling-1.c | 6 -- .../execute/ieee/builtin-issignaling-1.x | 20

[PATCH 0/4] Fix test requirements

2025-11-23 Thread feedable
While hacking on GCC, I found some tests that don't properly set their requirements, or just plain don't compile on some systems. These patches are intended to address that, as well as do some cleanups. feedable (4): testsuite: Clean up the weak declaration scanning testsuite: