]> gcc.gnu.org Git - gcc.git/commit - gcc/fortran/gfortran.h
gfortran.h (GFC_STD_LEGACY): New "standard" macro.
authorRoger Sayle <roger@eyesopen.com>
Mon, 30 May 2005 22:16:08 +0000 (22:16 +0000)
committerRoger Sayle <sayle@gcc.gnu.org>
Mon, 30 May 2005 22:16:08 +0000 (22:16 +0000)
commitc0309c74caa1610563501948e1ddfcd1e997556d
treebecb120b72d22a9e2b88e2936d6e3da4b6a7cec4
parentd5c405cc717dc39fb20b9dc013400f4da9a143e4
gfortran.h (GFC_STD_LEGACY): New "standard" macro.

* 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.

From-SVN: r100377
gcc/fortran/ChangeLog
gcc/fortran/gfortran.h
gcc/fortran/gfortran.texi
gcc/fortran/invoke.texi
gcc/fortran/lang.opt
gcc/fortran/options.c
This page took 0.059924 seconds and 5 git commands to generate.