On Fri, 2019-02-08 at 10:42 +0100, Uros Bizjak wrote: > so, the reverted patch neglected this assumption. Ignoring this, we > can use > > --cut here-- > Index: libgfortran/config/fpu-glibc.h > =================================================================== > --- libgfortran/config/fpu-glibc.h (revision 268424) > +++ libgfortran/config/fpu-glibc.h (working copy) > @@ -129,6 +129,10 @@ > int > support_fpu_trap (int flag) > { > +#if defined(__arm__) || defined(__aarch64__) > + return 0; > +#endif > + > return support_fpu_flag (flag); > } > > --cut here-- > > which would in effect revert to the previous status on arm/aarch64 > targets, while using correct setting for other targets, where > exception support is assumed. > > Uros.
I am not sure we want to disable this for all arm/Aarch64 chips. ieee_6.f90 is failing on my T88 ThunderX box with a 4.13 kernel and passing on my T99 Thunderx2 box with a 4.15 kernel. I don't know if it is the hardware or the kernel that is making the difference, I am still trying to figure that out. I guess returning zero would be a 'safe' choice in that it would say we do not support this on some machines where it actually is supported but it would no longer claim support on a machine where it is not supported. Steve Ellcey sell...@marvell.com