]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Match: Fix ordered and nonequal: Fix 'gcc.dg/opt-ordered-and-nonequal-1.c' re 'LOGICA...
authorThomas Schwinge <tschwinge@baylibre.com>
Mon, 9 Sep 2024 06:39:10 +0000 (08:39 +0200)
committerThomas Schwinge <tschwinge@baylibre.com>
Mon, 9 Sep 2024 07:28:39 +0000 (09:28 +0200)
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'.

gcc/testsuite/gcc.dg/opt-ordered-and-nonequal-1.c

index 6d102c2bd0c81647d9ed2bbbbd6fbc528bfc40d1..d61c3322214b0afc5e5db9a8c6610f60ee0dd0e9 100644 (file)
@@ -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)
 {