This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran 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(es)] PR fortran/77391 -- RFC vote on which you prefer


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


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