]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/fortran/options.c
* gfortran.h (GFC_STD_LEGACY): New "standard" macro. Reindent.
authorsayle <sayle@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 30 May 2005 22:16:08 +0000 (22:16 +0000)
committersayle <sayle@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 30 May 2005 22:16:08 +0000 (22:16 +0000)
commitc667e11dfe53a1541911e3465f391693abc00569
treebecb120b72d22a9e2b88e2936d6e3da4b6a7cec4
parent24079773bcf3b4a4ddf713db9dbace26d58a497e
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100377 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/fortran/ChangeLog
gcc/fortran/gfortran.h
gcc/fortran/gfortran.texi
gcc/fortran/invoke.texi
gcc/fortran/lang.opt
gcc/fortran/options.c