https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78314

Christophe Lyon <clyon at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |clyon at gcc dot gnu.org

--- Comment #16 from Christophe Lyon <clyon at gcc dot gnu.org> ---
(In reply to Uroš Bizjak from comment #13)
> (In reply to nsz from comment #12)
> > i don't know how to change this to false for IEEE_SUPPORT_HALTING
> > on aarch64 and arm targets, but that would be a possible fix.
> 
> --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--

I've noticed this problem on arm and aarch64 native builds too.
But my cross-compilers (using QEMU as simulator) still pass this test. Does
this mean there is a bug in QEMU?

Reply via email to