This is the mail archive of the
mailing list for the GCC project.
Re: [PATCH] fortran/28866 -- Fix not so simple simple IF
- From: "THOMAS Paul Richard 169137" <Paul dot Richard dot THOMAS at cea dot fr>
- To: <fortran at gcc dot gnu dot org>, <gcc-patches at gcc dot gnu dot org>
- Date: Tue, 29 Aug 2006 08:24:02 +0200
- Subject: Re: [PATCH] fortran/28866 -- Fix not so simple simple IF
Reply to off-list message
> I've attached a new patch that includes the removal of
> your previous patch, and for the above code gfortran now
> In file f.f90:5
> if (j .eq. 1) i = j
> 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.