[patch, fortran] PR34556 Rejects valid with bogus error message: parameter initalization
Paul Richard Thomas
paul.richard.thomas@gmail.com
Tue Jan 15 18:00:00 GMT 2008
Jerry,
I suggest that you make a local, renamed copy of gfc_is_constant_expr
and put the exclusion of functions in that. That'll make the patch
look a sight neater. Also, I guess that other transformational
functions need the same treatment?
Cheers
Paul
On Jan 15, 2008 6:33 AM, Jerry DeLisle <jvdelisle@verizon.net> wrote:
>
> Paul Richard Thomas wrote:
> >> OK for trunk?
> >
> > The patch fails if I change the order of the constructors in the
> > 'source' argument.
> >
> > integer, parameter, dimension (linem, nplam) :: nxttab = &
> > reshape ([[(6, i= 1, 2*linem) ], [(i, i= 1,linem)], &
> > max ([(i, i= 1,linem)], [(10*i, i= 1,linem)])], &
> > [linem, nplam ])
> >
> > I think that you are on the right track but a bit more is needed:)
> >
> > Cheers
> >
> > Paul
> >
> Paul, thanks for catching this. I will keep at it.
>
> Jerry
>
--
The knack of flying is learning how to throw yourself at the ground and miss.
--Hitchhikers Guide to the Galaxy
More information about the Fortran
mailing list