All of these are for wrong-code bugs. Confirmed to be used before but with no execution.
Tested on x86_64-pc-linux-gnu and checked test logs before/after. 2024-07-17 Sam James <s...@gentoo.org> PR/96369 PR/102124 PR/108692 * c-c++-common/pr96369.c: Add dg-do run directive. * gcc.dg/torture/pr102124.c: Ditto. * gcc.dg/pr108692.c: Ditto. --- v2: Fix ChangeLog format. Explicitly state how tested in commit msg. Drop redundant dg-do compile where appropriate. gcc/testsuite/c-c++-common/pr96369.c | 2 +- gcc/testsuite/gcc.dg/pr108692.c | 2 +- gcc/testsuite/gcc.dg/torture/pr102124.c | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/gcc/testsuite/c-c++-common/pr96369.c b/gcc/testsuite/c-c++-common/pr96369.c index 8c468d9fec2f..ec58a3fc6c92 100644 --- a/gcc/testsuite/c-c++-common/pr96369.c +++ b/gcc/testsuite/c-c++-common/pr96369.c @@ -1,4 +1,4 @@ -/* { dg-do compile } */ +/* { dg-do run } */ /* { dg-options "-O" } */ int main() diff --git a/gcc/testsuite/gcc.dg/pr108692.c b/gcc/testsuite/gcc.dg/pr108692.c index fc25bf54e45d..13a27496ad9f 100644 --- a/gcc/testsuite/gcc.dg/pr108692.c +++ b/gcc/testsuite/gcc.dg/pr108692.c @@ -1,5 +1,5 @@ /* PR tree-optimization/108692 */ -/* { dg-do compile } */ +/* { dg-do run } */ /* { dg-options "-O2 -ftree-vectorize" } */ __attribute__((noipa)) int diff --git a/gcc/testsuite/gcc.dg/torture/pr102124.c b/gcc/testsuite/gcc.dg/torture/pr102124.c index a158b4a60b69..a0eb01521242 100644 --- a/gcc/testsuite/gcc.dg/torture/pr102124.c +++ b/gcc/testsuite/gcc.dg/torture/pr102124.c @@ -1,4 +1,5 @@ /* PR tree-optimization/102124 */ +/* { dg-do run } */ int foo (const unsigned char *a, const unsigned char *b, unsigned long len) -- 2.45.2