https://gcc.gnu.org/g:00b35424cbdd0985e87e6de2c381ee3c3f7fdc21

commit r15-3541-g00b35424cbdd0985e87e6de2c381ee3c3f7fdc21
Author: Thomas Schwinge <tschwi...@baylibre.com>
Date:   Mon Sep 9 08:39:10 2024 +0200

    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:
---
 gcc/testsuite/gcc.dg/opt-ordered-and-nonequal-1.c | 2 ++
 1 file changed, 2 insertions(+)

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 6d102c2bd0c8..d61c3322214b 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)
 {

Reply via email to