https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119244
--- Comment #23 from Iain Sandoe <iains at gcc dot gnu.org> ---
(In reply to Richard Biener from comment #21)
> (In reply to Richard Biener from comment #19)
> > I'll cook up a preliminary patch for the Q vs. f128 change.
> 
> Note it seems libgfortran LIBGFOR_CHECK_FLOAT128 sets USE_IEC_60559 in
> odd ways, also requiring Q literal suffix support.  So for targets with
> native _Float128 support using the f128 suffix would have been better?

I have essentially copied that logic in the patch attached (but it needs
extending as per Jakub's suggestion)

> But why does s390x reject Q.

I guess it does not fire in libgfortran because literals are already wrapped in
a macro there.

> Anyway, post-poning this after the libquadmath check/support is in since
> for libgfortran this is where the USE_IEC_60559 is defined.

The patch above defines it for libgcobol (using the same logic as libgfortran
does)

Reply via email to