https://gcc.gnu.org/g:0703e7491e06c09f2a37c9275d92dc32ae10015d
commit r15-6081-g0703e7491e06c09f2a37c9275d92dc32ae10015d Author: Hans-Peter Nilsson <h...@axis.com> Date: Mon Dec 9 20:15:52 2024 +0100 testsuite/gcc.dg/tree-ssa/pr117973-1.c: New test PR117973 covers the aspect of non-LOGICAL_OP_NON_SHORT_CIRCUIT targets for PR111456, for which the test-case gcc.dg/tree-ssa/pr111456-1.c started failing as described in PR117954. * gcc.dg/tree-ssa/pr117973-1.c: New test. Diff: --- gcc/testsuite/gcc.dg/tree-ssa/pr117973-1.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/gcc/testsuite/gcc.dg/tree-ssa/pr117973-1.c b/gcc/testsuite/gcc.dg/tree-ssa/pr117973-1.c new file mode 100644 index 000000000000..6523b3ce59fe --- /dev/null +++ b/gcc/testsuite/gcc.dg/tree-ssa/pr117973-1.c @@ -0,0 +1,7 @@ +/* { dg-do compile } */ +/* { dg-options "-O2 -fdump-tree-optimized --param logical-op-non-short-circuit=0" } */ +/* PR tree-optimization/117973 */ +#include "pr111456-1.c" + +/* { dg-final { scan-tree-dump-not "foo " "optimized" { xfail *-*-* } } } */ +/* { dg-final { scan-tree-dump "return 0;" "optimized" } } */