Follow-up-fix to "[PATCH] Move PR84877 fix elsewhere (PR bootstrap/88450)"
Eric Botcazou
ebotcazou@adacore.com
Mon Feb 11 08:53:00 GMT 2019
> To fix the r267812 incorrectness we need to use the *stored*
> size, i.e. that which will be stored into using register-sized
> writes. It's seems like the bug is just a typo, so the fix is
> as simple as follows. Note the usage of "diff -U 10" to show
> that size_stored is used in the "then"-arm.
Right, thanks for catching it.
> Ok to commit?
>
> gcc/ChangeLog:
> * function.c (assign_parm_setup_block): Use the stored
> size, not the passed size, when allocating stack-space,
> also for a parameter with alignment larger than
> MAX_SUPPORTED_STACK_ALIGNMENT.
OK, thanks.
--
Eric Botcazou
More information about the Gcc-patches
mailing list