[PATCH] Add some checking for cfgexpand and partitioning
Richard Guenther
richard.guenther@gmail.com
Wed Oct 17 21:23:00 GMT 2007
On 10/17/07, Andrew_Pinski@playstation.sony.com
<Andrew_Pinski@playstation.sony.com> wrote:
> Hi,
> Currently we have no checking for partitioning of stack variables. So
> currently we could end up with the case where the offset inside a parition
> is greater than the size of the partition itself. This patch adds this
> check. We ran into a bug (when modifing the paritioning code) where we
> would have this case, it seems better to add a check for it so it does not
> happen when we submit this enhancement.
>
> OK? Bootstrapped and tested on powerpc64-linux-gnu with no regressions.
Ok.
Thanks,
Richard.
>
> ChangeLog:
> * cfgexpand.c (expand_stack_vars): Add checking to make sure
> that the offset of a variable is not greater than the size
> of the paritition.
>
>
>
>
>
More information about the Gcc-patches
mailing list