[Bug target/119408] LoongArch: Q Suffix for __float128 Literals Not Supported
xry111 at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Mar 21 12:47:41 GMT 2025
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119408
Xi Ruoyao <xry111 at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Ever confirmed|0 |1
Last reconfirmed| |2025-03-21
Status|UNCONFIRMED |NEW
--- Comment #4 from Xi Ruoyao <xry111 at gcc dot gnu.org> ---
(In reply to Richard Biener from comment #1)
> Q is an extension, 1.11111f128 should work. The extension is enabled only
> for some platforms.
The reason is we already added __float128 for "compatibility with existing
code" so it makes sense to add Q as well. And we have "use a suffix ‘q’ or ‘Q’
for
‘__float128’" in https://gcc.gnu.org/onlinedocs/gcc/Floating-Types.html, to me
it implies if __float128 is supported, q and Q should be supported too.
More information about the Gcc-bugs
mailing list