[Bug fortran/95640] gfortran ieee_selected_real_kind returns 10
kargl at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Jun 12 04:16:53 GMT 2020
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95640
--- Comment #12 from kargl at gcc dot gnu.org ---
(In reply to Bill Long from comment #11)
> I checked with the Intel docs and the ia64 version of the compiler (what HPC
> users use) does not support x87.
>
> Is there a gfortran compiler option to disable x87 use (i.e. REAL(10) is an
> error), to match the other compilers?
The types are set up in trans-type.c(gfc_init_kinds). I
do not see an option that would disable querying for
long_double_type_node. In principle, one might be able
to define an option that prevents gfortran from see a
long_double_type_node. This should then disable REAL(10).
Looking at configure options, there is a --with-long-double-128
option but I've never used it. Don't know if it will disable
REAL(10). It appears linux specific.
More information about the Gcc-bugs
mailing list