Integer promotion for register based arguments
Andrew Haley
aph@redhat.com
Wed Jul 25 15:57:00 GMT 2012
On 07/25/2012 04:52 PM, Jon Beniston wrote:
> Hi Eric,
>
>>> > > I guess my question is what would I need to change to make it work
>>> > > like the ARM port? I can't see how this is being controlled.
>> >
>> > Try TARGET_PROMOTE_PROTOTYPES.
> For all 3 targets I believe this returns true (Both MIPS and LM32 use
> hook_bool_const_tree_true), so I presume it must be something else.
I'd just step through the code at the point the sign extension is
generated.
Andrew.
More information about the Gcc
mailing list