[gcc(refs/users/aoliva/heads/testme)] [arm] [vxworks] xfail fp-double-convert-float-1.c

Alexandre Oliva aoliva@gcc.gnu.org
Thu Feb 23 13:27:19 GMT 2023


https://gcc.gnu.org/g:43bd3d46e41f17d86d644d319c85c540bde151fc

commit 43bd3d46e41f17d86d644d319c85c540bde151fc
Author: Alexandre Oliva <oliva@adacore.com>
Date:   Thu Feb 16 07:45:36 2023 -0300

    [arm] [vxworks] xfail fp-double-convert-float-1.c
    
    Even with vcvt.f32.f64, the FE_UPWARD test rounds down and fails.  I'm
    not sure whether this opcode disregards the rounding mode (it looks
    like it should take it into account) or it is a qemu bug, but it does
    not look like GCC is doing anything wrong, and the test fails, so I'm
    marking the fail as expected on arm-*-vxworks*.
    
    
    for  gcc/testsuite/ChangeLog
    
            * gcc.dg/torture/fp-double-convert-float-1.c: XFAIL on
            arm-*-vxworks*.

Diff:
---
 gcc/testsuite/gcc.dg/torture/fp-double-convert-float-1.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gcc/testsuite/gcc.dg/torture/fp-double-convert-float-1.c b/gcc/testsuite/gcc.dg/torture/fp-double-convert-float-1.c
index 1c28a9e101e..c3ca69d64bb 100644
--- a/gcc/testsuite/gcc.dg/torture/fp-double-convert-float-1.c
+++ b/gcc/testsuite/gcc.dg/torture/fp-double-convert-float-1.c
@@ -1,5 +1,5 @@
 /* PR57245 */
-/* { dg-do run } */
+/* { dg-do run { xfail { arm-*-vxworks* } } } */
 /* { dg-require-effective-target fenv } */
 /* { dg-require-effective-target hard_float } */
 /* { dg-additional-options "-frounding-math" } */


More information about the Gcc-cvs mailing list