The change seems unnecessary since we only compute the address of the element before the bounds check, we don't actually access the element. I believe that is legal in C.
If you have an array a[N], taking &a[0] .. &a[N] are legal C, everything else is not. Segher _______________________________________________ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev