This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: [PATCH(es)] PR fortran/77391 -- RFC vote on which you prefer
- From: Mikael Morin <morin-mikael at orange dot fr>
- To: Steve Kargl <sgk at troutmask dot apl dot washington dot edu>, fortran at gcc dot gnu dot org, gcc-patches at gcc dot gnu dot org
- Date: Fri, 26 Aug 2016 22:28:25 +0200
- Subject: Re: [PATCH(es)] PR fortran/77391 -- RFC vote on which you prefer
- Authentication-results: sourceware.org; auth=none
- References: <20160826182755.GA63696@troutmask.apl.washington.edu>
Hello,
Le 26/08/2016 à 20:27, Steve Kargl a écrit :
Here are two possible patches for PR fortran/77391. The first
patch treats the invalid code as a GNU Fortran extension as
gfortran current accepts the invalid code. The second patch
enforces the standard. As I think gfortran should encourage
standard conformance, I am inclined to commit the second patch.
I will however commit the most popular of the two patches tomorrow.
Voting starts now and will remain open for 24 hours (give or take
a few hours depend on when I awaken).
I don't think it's sufficient to check current_attr because of this case:
character(:) :: a
pointer :: a
end
The statement should be accepted, and the check be postponed at a time
after the symbol has been initialised, at resolution time for example.
Mikael