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,gfortran] Error or warning about nonstandard type declarations


On Thu, Dec 15, 2005 at 03:33:06PM -0800, Steve Kargl wrote:
> I will apply the attached patches sometime on Saturaday
> unless someone objects.  At the moment, we compile files
> of the form 
> 
>    real*8 x
>    end
> 
> without any error or warning even if -std=f95 and/or
> -pedantic is specified on the command line.
> 
> In the process of testing the patch, I've that we've
> been fairly sloppy with programs in the testsuite.  The
> testsuite.diff patch cleans up the use of the nonstandard
> type declarations.  Note, I wrote or reviewed a few the
> offending programs, so I'm not guiltless here.
> 
> 
> 2005-12-15  Steven G. Kargl  <kargls@comcast.net>
> 
> 	* decl.c (gfc_match_old_kind_spec): Use gfc_notify_std for
> 	Nonstandard type declarations.
> 

Here's a slightly updated patch that also address the conformance
of DOUBLE COMPLEX.  I'll commit this tomorrow with corresponding
changes to testsuite.

2005-12-15  Steven G. Kargl  <kargls@comcast.net>
 
 	* decl.c (gfc_match_old_kind_spec): Use gfc_notify_std for
 	Nonstandard type declarations.
	(match_type_spec): Ditto for DOUBLE COMPLEX.r

-- 
steve

Attachment: decl.c.diff
Description: Text document


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