This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH RFC 3/3] Hookize PROMOTE_FUNCTION_MODE with provision for HFmode
> What if TARGET_ARCH64 and not TARGET_PTR64? This is the case I was
> thinking about; FUNCTION_VALUE will extend pointers to 64-bit,
> PROMOTE_FUNCTION_MODE doesn't (not even my posted version). It's
> probably harmless though, maybe a bit inefficient.
Pmode == word_mode so in both cases we get Pmode, don't we? Or do you want to
add a POINTER_TYPE_P case to function_value for consistency? If so, I agree.
--
Eric Botcazou