https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69101
Jerry DeLisle <jvdelisle at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jvdelisle at gcc dot gnu.org --- Comment #4 from Jerry DeLisle <jvdelisle at gcc dot gnu.org> --- (In reply to kargl from comment #3) > 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. I was looking at this yesterday. It is implemented in ieee_arithmetic.F90 and I think can be done with generic type bound procedures. According to the comment in the code, the ieee_arithmetic.F90 file is generated, but it is not clear to me where the generation of the .F90 is specified.