https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96983

--- Comment #25 from joseph at codesourcery dot com <joseph at codesourcery dot 
com> ---
On Mon, 14 Sep 2020, anlauf at gcc dot gnu.org wrote:

> Remember that Fortran needs a correspondence between a storage representation
> (in bytes / bits) and the kind type on the language side.  We'd thus need a
> method to get the machine mode for a given representation.  If there are
> multiple representations with the same storage size (ieee128 vs. ibm128),
> the ME needs to provide a way to the FE to uniquely address those.

What that suggests to me is having a target hook mapping a Fortran kind to 
a floating-point machine mode (or to one of the global tree nodes for 
floating-point types), alongside the target hook mapping a C type (float, 
double, long double) to a machine mode.

Reply via email to