This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Major regression on mainline
On Fri, Feb 18, 2005 at 05:16:29PM -0500, Andrew Pinski wrote:
>
> On Feb 18, 2005, at 5:12 PM, Thomas Koenig wrote:
>
> >On Wed, Feb 16, 2005 at 10:59:00PM -0500, Jason Merrill wrote:
> >
> >>I suspect that the problem is that the transformations
> >>fold_indirect_ref_1
> >>is doing on arrays don't mix well with how fortran handles arrays.
> >
> >I have been trying to look at the problem in the BLAS sources,
> >and I find it hard to debug because it goes away when print
> >statements are added to the source (I hate that...)
> >
>
> Wasn't this fixed by my patch which I applied this morning:
>
> 2005-02-18 Andrew Pinski <pinskia@physics.uc.edu>
>
> PR middle-end/20030
> * fold-const.c (fold_indirect_ref_1): Use the correct index for
> zero access,
> the lower bound of the array type if it exists.
>
Yes, your patch fixed the problem.
--
Steve