This is the mail archive of the
mailing list for the GCC project.
Re: [fortran, patch] F2003 "non-default kind specifiers" compliance
- From: Steve Kargl <sgk at troutmask dot apl dot washington dot edu>
- To: FX <fxcoudert at gmail dot com>
- Cc: gfortran <fortran at gcc dot gnu dot org>, gcc-patches <gcc-patches at gcc dot gnu dot org>
- Date: Fri, 6 Jun 2014 12:52:44 -0700
- Subject: Re: [fortran, patch] F2003 "non-default kind specifiers" compliance
- Authentication-results: sourceware.org; auth=none
- References: <05D8E558-7941-41F0-B02B-D7D94BB0ABF8 at gmail dot com>
On Fri, Jun 06, 2014 at 06:21:02PM +0200, FX wrote:
> Hi all,
> Our Fortran 2003 status page  says gfortran does not support "Kind type parameters of integer specifiers?. This item is defined thusly (item 4.9 in ):
> > Some of the integer specifiers (e.g. NEXTREC) were limited to default kind in Fortran 95. Any kind of integer is permitted in Fortran 2003.
> I wanted to fix this, so I combed through the 95, 2003 and 2008 standards, and listed these changes. F2003 lifted all requirements on integer specifiers, and F2008 lifted requirements on logical specifiers. However, it appears that all of these are actually already handled in current trunk! So I?m proposing a simple two-fold action:
> - update the Fortran 2003 status to indicate our compliance
> - commit the attached testcase (bootstrapped and regtested on x86_64-apple-darwin) which will make sure we stay that way.
This is OK with me.