On Thu, 27 Sep 2018, Christophe Lyon wrote:

> After this patch I've noticed regressions on
> fp-int-convert-float16-timode.c
> gcc.dg/torture/fp-int-convert-float16.c
> on aarch64 and arm (at execution time)

Does this patch help?

Index: gcc/testsuite/gcc.dg/torture/fp-int-convert.h
===================================================================
--- gcc/testsuite/gcc.dg/torture/fp-int-convert.h       (revision 264666)
+++ gcc/testsuite/gcc.dg/torture/fp-int-convert.h       (working copy)
@@ -90,6 +90,7 @@
   if (ivin != (VAL)                                    \
       || ((PREC_OK) && ivout != ivin)                  \
       || ((PREC_OK) && ivout != (VAL))                 \
-      || fv1 != (VAL) || fv2 != (VAL) || fv1 != fv2)   \
+      || fv1 != (FT) (VAL) || fv2 != (FT) (VAL)                \
+      || fv1 != fv2)                                   \
     abort ();                                          \
 } while (0)

-- 
Joseph S. Myers
jos...@codesourcery.com

Reply via email to