https://gcc.gnu.org/g:649056a5924c7cfb2cad498422c85806cdd3358f

commit r17-6462-g649056a5924c7cfb2cad498422c85806cdd3358f
Author: Torbjörn SVENSSON <[email protected]>
Date:   Sat Nov 14 13:59:13 2026 +0100

    testsuite: arm: XFAIL rounding tests on mixed-float targets
    
    On Arm targets with SP but no DP hardware, DP arithmetic uses software
    routines that do not honor the rounding mode. Mark these tests as xfail,
    following the change to fp-double-convert-float-1.c in commit
    r16-8549-g3d30fc2f73ccc1.
    
    gcc/testsuite/ChangeLog:
    
            * gcc.dg/pr128004.c: XFAIL for arm_mixed_fp.
            * gcc.dg/pr128007.c: Likewise.
    
    Signed-off-by: Torbjörn SVENSSON <[email protected]>

Diff:
---
 gcc/testsuite/gcc.dg/pr128004.c | 2 +-
 gcc/testsuite/gcc.dg/pr128007.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/gcc/testsuite/gcc.dg/pr128004.c b/gcc/testsuite/gcc.dg/pr128004.c
index 8666837a0fea..b65f7810c703 100644
--- a/gcc/testsuite/gcc.dg/pr128004.c
+++ b/gcc/testsuite/gcc.dg/pr128004.c
@@ -1,5 +1,5 @@
 /* PR middle-end/128004 */
-/* { dg-do run } */
+/* { dg-do run { xfail { arm_mixed_fp } } } */
 /* { dg-require-effective-target fenv } */
 /* { dg-require-effective-target hard_float } */
 /* { dg-options "-O2 -frounding-math" } */
diff --git a/gcc/testsuite/gcc.dg/pr128007.c b/gcc/testsuite/gcc.dg/pr128007.c
index c134f6e16260..dbf7a28c2330 100644
--- a/gcc/testsuite/gcc.dg/pr128007.c
+++ b/gcc/testsuite/gcc.dg/pr128007.c
@@ -1,5 +1,5 @@
 /* PR rtl-optimization/128007 */
-/* { dg-do run } */
+/* { dg-do run { xfail { arm_mixed_fp } } } */
 /* { dg-require-effective-target fenv } */
 /* { dg-require-effective-target hard_float } */
 /* { dg-options "-O2 -frounding-math -ffinite-math-only" } */

Reply via email to