aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorThomas Schwinge <tschwinge@baylibre.com>2024-09-09 08:39:10 +0200
committerThomas Schwinge <tschwinge@baylibre.com>2024-09-09 09:28:39 +0200
commit00b35424cbdd0985e87e6de2c381ee3c3f7fdc21 (patch)
treef4c0433c1a62dd714fd5314ff864fc064d02f27b /gcc
parentd1b3d099dd5789e3e7943ed23a9cd8c6c9689b2b (diff)
downloadgcc-00b35424cbdd0985e87e6de2c381ee3c3f7fdc21.zip
gcc-00b35424cbdd0985e87e6de2c381ee3c3f7fdc21.tar.gz
gcc-00b35424cbdd0985e87e6de2c381ee3c3f7fdc21.tar.bz2
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'.
Diffstat (limited to 'gcc')
-rw-r--r--gcc/testsuite/gcc.dg/opt-ordered-and-nonequal-1.c2
1 files changed, 2 insertions, 0 deletions
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 6d102c2..d61c332 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)
{