[Bug fortran/69101] IEEE_SELECTED_REAL_KIND is not generic
kargl at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Jan 1 21:28:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69101
kargl at gcc dot gnu.org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |kargl at gcc dot gnu.org
Summary|ICE when compiling some |IEEE_SELECTED_REAL_KIND is
|tests in gfortran.dg/ieee/ |not generic
|with -fdefault-integer-8 or |
|-finteger-4-integer-8 |
--- Comment #3 from kargl at gcc dot gnu.org ---
To use IEEE_SELECTED_REAL_KIND in an initialization expression
with arbitrary integer kind type parameter requires a rewrite
of simplify_ieee_selected_real_kind in simplify.c. This isn't
too terribly hard.
The fix for the use of IEEE_SELECTED_REAL_KIND as a generic
intrinsic subprogram in a non-initialization expression appears
to be much more difficult. It probably means that 125 explicit
interfaces need to be added to the IEEE_ARITHMETIC module. I
won't pursue this avenue.
More information about the Gcc-bugs
mailing list