From: Thomas Schwinge Date: Mon, 9 Sep 2024 06:39:10 +0000 (+0200) Subject: Match: Fix ordered and nonequal: Fix 'gcc.dg/opt-ordered-and-nonequal-1.c' re 'LOGICA... X-Git-Tag: basepoints/gcc-16~6012 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=00b35424cbdd0985e87e6de2c381ee3c3f7fdc21;p=thirdparty%2Fgcc.git Match: Fix ordered and nonequal: Fix 'gcc.dg/opt-ordered-and-nonequal-1.c' re 'LOGICAL_OP_NON_SHORT_CIRCUIT' [PR116635] Fix up to make 'gcc.dg/opt-ordered-and-nonequal-1.c' of commit 91421e21e8f0f05f440174b8de7a43a311700e08 "Match: Fix ordered and nonequal" work for default 'LOGICAL_OP_NON_SHORT_CIRCUIT == false' configurations. PR testsuite/116635 gcc/testsuite/ * gcc.dg/opt-ordered-and-nonequal-1.c: Fix re 'LOGICAL_OP_NON_SHORT_CIRCUIT'. --- diff --git a/gcc/testsuite/gcc.dg/opt-ordered-and-nonequal-1.c b/gcc/testsuite/gcc.dg/opt-ordered-and-nonequal-1.c index 6d102c2bd0c..d61c3322214 100644 --- a/gcc/testsuite/gcc.dg/opt-ordered-and-nonequal-1.c +++ b/gcc/testsuite/gcc.dg/opt-ordered-and-nonequal-1.c @@ -1,5 +1,7 @@ /* { dg-do compile } */ /* { dg-options "-O2 -fdump-tree-forwprop1-details" } */ +/* Make this work for default 'LOGICAL_OP_NON_SHORT_CIRCUIT == false' configurations: + { dg-additional-options "--param logical-op-non-short-circuit=1" } */ int is_ordered_and_nonequal_sh_1 (float a, float b) {