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: [PATCH] fortran/28866 -- Fix not so simple simple IF


On Tue, Aug 29, 2006 at 08:24:02AM +0200, THOMAS Paul Richard 169137 wrote:
> Reply to off-list message
> 

Yeah, I screwed up when I sent the revised patch out, and only
sent it to you.


> > I've attached a new patch that includes the removal of
> > your previous patch, and for the above code gfortran now
> > gives
> > 
> >  In file f.f90:5
> > 
> >    if (j .eq. 1) i = j
> >                 1
> > Error: Cannot assign to a named constant at (1)
> > 
> > The new patch adds a check for the above after all
> > the other matchers fail.  It is a special case of 
> > the gfc_match_assignment.  This passed a regression
> > test on amd64-*-freebsd. 
> > 
> 
> It looks good!  OK to commit.

Committed.

-- 
Steve


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