PUSH_ROUNDING

Jeff Law law@redhat.com
Tue Nov 28 18:10:00 GMT 2017


On 11/28/2017 11:00 AM, Richard Sandiford wrote:
> Jeff Law <law@redhat.com> writes:

>>
>> I so wish PUSH_ROUNDING wasn't needed and that folks could at least keep
>> their processors consistent (I'm looking at the coldfire designers :(.
>> For a tale of woe, see BZ68467.
> 
> Ouch.  Is this also fallout from having different code for libcalls
> and normal calls?  That always seemed like an accident waiting to
> happen, but I don't remember seeing cases where it caused actual ABI
> breakage before.
Yup.  Essentially the caller uses a libcall interface where promotions
are not occurring, but there's no way to describe that at the source
level to the implementation of the libcall and the implementation thus
expects the usual argument promotions.  At least that's how it looked
when I started poking a bit.  At that point, I had to stop as I couldn't
justify the time to dig further for an m68k issue...


> 
> Thanks as ever for the reviews :-)
You're welcome.  Still lots to do, but at least some progress whittling
it down.

jeff



More information about the Gcc-patches mailing list