This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]