This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [gfortran] Add new -std=legacy command line option
- From: Paul Brook <paul at codesourcery dot com>
- To: fortran at gcc dot gnu dot org
- Cc: Roger Sayle <roger at eyesopen dot com>,gcc-patches at gcc dot gnu dot org,Steven Bosscher <stevenb at suse dot de>,Tobias Schluter <tobias dot schlueter at physik dot uni-muenchen dot de>
- Date: Sat, 28 May 2005 21:07:46 +0100
- Subject: Re: [gfortran] Add new -std=legacy command line option
- References: <Pine.LNX.4.44.0505281341220.8116-100000@www.eyesopen.com>
> 2005-05-28 Roger Sayle <roger@eyesopen.com>
>
> * gfortran.h (GFC_STD_LEGACY): New "standard" macro. Reindent.
> * options.c (gfc_init_options): By default, allow legacy extensions
> but warn about them.
> (gfc_post_options): Make -pedantic warn about legacy extensions
> even with -std=legacy.
> (gfc_handle_option): Make -std=gnu follow the default behaviour
> of warning about legacy extensions, but allowing them. Make the
> new -std=legacy accept everything and warn about nothing.
> * lang.opt (std=legacy): New F95 command line option.
> * invoke.texi: Document both -std=f2003 and -std=legacy.
> * gfortran.texi: Explain the two types of extensions and document
> how they are affected by the various -std= command line options.
Ok.
Paul