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

--- Comment #23 from anlauf at gcc dot gnu.org ---
(In reply to jos...@codesourcery.com from comment #22)
> Closely related: the LONG_DOUBLE_TYPE_SIZE target macro which assumes 
> "size in bits" can uniquely determine the format of long double.  In the 
> absence of hacks such as the above, LONG_DOUBLE_TYPE_SIZE needs replacing 
> by a target hook that returns the machine mode, not "size in bits" (maybe 
> a hook that covers all of float, double and long double).

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.

Reply via email to