From: Stefan Schulze Frielinghaus <[email protected]>

Option -fno-fuse-ops-with-volatile-access is only available since GCC 16
and shouldn't have been backported.  The test is still meaningful for
GCC 15 in the sense that it still works as a reproducer for an ICE
without patch r15.3.0-60-gc60891d75ae and shows that the ICE is fixed by
it.

gcc/testsuite/ChangeLog:

        * gcc.dg/pr125173-1.c: Remove option
        -fno-fuse-ops-with-volatile-access.
---

 I had tested each backport manually where I removed the option for the
 test but forgot to adapt the backported test itself.  Would have been
 obvious if I had used the final commit and make check for testing.
 Sorry for the noise ... especially on release branches.

 Tested on s390x and x86_64.

 I will come up with similar fix ups for release branches 14 and 13.

 gcc/testsuite/gcc.dg/pr125173-1.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gcc/testsuite/gcc.dg/pr125173-1.c 
b/gcc/testsuite/gcc.dg/pr125173-1.c
index 5f66b24fcb0..4616a54e86a 100644
--- a/gcc/testsuite/gcc.dg/pr125173-1.c
+++ b/gcc/testsuite/gcc.dg/pr125173-1.c
@@ -1,5 +1,5 @@
 /* { dg-do compile } */
-/* { dg-options "-O1 -fno-fuse-ops-with-volatile-access -fno-forward-propagate 
--param=max-cse-insns=0" } */
+/* { dg-options "-O1 -fno-forward-propagate --param=max-cse-insns=0" } */
 
 int a;
 volatile short b;
-- 
2.54.0

Reply via email to