TARGET_PROMOTE_PROTOTYPES question
Eric Botcazou
ebotcazou@adacore.com
Wed Oct 21 13:44:00 GMT 2015
> I have a question about the TARGET_PROMOTE_PROTOTYPES macro. This macro
> says that types like short or char should be promoted to ints when
> passed as arguments, even if there is a prototype for the argument.
>
> Now when I look at the code generated on MIPS or x86 it looks like there
> is conversion code in both the caller and the callee.
We used to to the same on SPARC 32-bit, see PR target/46208.
--
Eric Botcazou
More information about the Gcc
mailing list