https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113578
Andrew Waterman <andrew at sifive dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |andrew at sifive dot com
--- Comment #7 from Andrew Waterman <andrew at sifive dot com> ---
In the case of the M1, I don't think the problem is that the sign bit isn't
making it to printf; I think printf is choosing not to print the sign. The
ARMv8 fcvt instruction preserves the sign bit when converting NaNs (unless the
processor is in default-NaN mode, which Mac OS does not seem to use).