Re: [PATCH] Fix PR 48981 aliasing bug inside GCC

2011-05-27 Thread Richard Guenther
On Thu, May 26, 2011 at 11:56 PM, Andrew Pinski wrote: > The problem here is that vec.c accesses VEC__base via a > vec_prefix but VEC__base's first field is not a vec_prefix. > This patch fixes the problem by changing how VEC_*_base is done by > using vec_prefix as the real base. > > OK? Bootstrap

[PATCH] Fix PR 48981 aliasing bug inside GCC

2011-05-26 Thread Andrew Pinski
The problem here is that vec.c accesses VEC__base via a vec_prefix but VEC__base's first field is not a vec_prefix. This patch fixes the problem by changing how VEC_*_base is done by using vec_prefix as the real base. OK? Bootstrapped and tested on x86_64 without any regressions. Thanks, Andrew P