This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: fix 23714
- From: Ulrich Weigand <Ulrich dot Weigand at de dot ibm dot com>
- To: Diego Novillo <dnovillo at redhat dot com>
- Cc: David Edelsohn <dje at watson dot ibm dot com>, gcc-patches at gcc dot gnu dot org, Andrew Pinski <pinskia at physics dot uc dot edu>, Richard Henderson <rth at redhat dot com>
- Date: Fri, 14 Oct 2005 17:41:23 +0200
- Subject: Re: fix 23714
Diego Novillo <dnovillo@redhat.com> wrote on 14.10.2005 17:27:25:
> On Tuesday 11 October 2005 16:59, Andrew Pinski wrote:
>
> > ChangeLog:
> > * tree-cfg.c (mark_array_ref_addressable_1): If the array
> > reference is in bounds, don't do anything.
>
> Well, I don't know if this is safe. If *all* the references to this
array
> are in_array_bounds_p, how come the array wasn't SRA'd?
I'd assume this is because the array is member of a union, see e.g.:
http://gcc.gnu.org/ml/gcc-patches/2005-10/msg00636.html
Mit freundlichen Gruessen / Best Regards
Ulrich Weigand
--
Dr. Ulrich Weigand
Linux for S/390 Design & Development
IBM Deutschland Entwicklung GmbH, Schoenaicher Str. 220, 71032 Boeblingen
Phone: +49-7031/16-3727 --- Email: Ulrich.Weigand@de.ibm.com