[Bug fortran/58000] Accept OPEN( ... NAME=) with -std=legacy

2016-04-13 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58000

Dominique d'Humieres  changed:

   What|Removed |Added

 Status|WAITING |RESOLVED
 Resolution|--- |WONTFIX

--- Comment #6 from Dominique d'Humieres  ---
Jerry,

Thanks for the review.

Documented as not implemented, closing as WONTFIX.

[Bug fortran/58000] Accept OPEN( ... NAME=) with -std=legacy

2016-04-13 Thread dominiq at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58000

--- Comment #5 from dominiq at gcc dot gnu.org ---
Author: dominiq
Date: Wed Apr 13 13:17:45 2016
New Revision: 234936

URL: https://gcc.gnu.org/viewcvs?rev=234936=gcc=rev
Log:
2016-04-13  Dominique d'Humieres  

PR fortran/58000
* gfortran.texi: Document OPEN( ... NAME=) as not implemented
in GNU Fortran


Modified:
trunk/gcc/fortran/ChangeLog
trunk/gcc/fortran/gfortran.texi

[Bug fortran/58000] Accept OPEN( ... NAME=) with -std=legacy

2016-04-10 Thread jvdelisle at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58000

Jerry DeLisle  changed:

   What|Removed |Added

 CC||jvdelisle at gcc dot gnu.org

--- Comment #4 from Jerry DeLisle  ---
(In reply to Dominique d'Humieres from comment #3)
> Patch I am planning to submit
> 
> --- ../_clean/gcc/fortran/gfortran.texi   2016-01-04 19:51:09.0 
> +0100
> +++ gcc/fortran/gfortran.texi 2016-04-10 14:00:11.0 +0200
> @@ -2148,6 +2148,7 @@ code that uses them running with the GNU
>  @c * Omitted arguments in procedure call::
>  * Alternate complex function syntax::
>  * Volatile COMMON blocks::
> +* OPEN( ... NAME=)::
>  @end menu
>  
>  
> @@ -2355,6 +2356,19 @@ invalid standard Fortran syntax and is n
>  
>  
>  
> +@node OPEN( ... NAME=)
> +@subsection @code{OPEN( ... NAME=)}
> +@cindex @code{NAM}
> +
> +Some Fortran compilers, including @command{g77}, let the user declare
> +@code{OPEN( ... NAME=)}. This is
> +invalid standard Fortran syntax and is not supported by
> +@command{gfortran}.  @code{OPEN( ... NAME=)} should be replaced
> +with @code{OPEN( ... FILE=)}.
> +
> +
> +
> +@c -
>  @c -
>  @c Mixed-Language Programming
>  @c -

Approved! Please proceed.

[Bug fortran/58000] Accept OPEN( ... NAME=) with -std=legacy

2016-04-10 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58000

--- Comment #3 from Dominique d'Humieres  ---
Patch I am planning to submit

--- ../_clean/gcc/fortran/gfortran.texi 2016-01-04 19:51:09.0 +0100
+++ gcc/fortran/gfortran.texi   2016-04-10 14:00:11.0 +0200
@@ -2148,6 +2148,7 @@ code that uses them running with the GNU
 @c * Omitted arguments in procedure call::
 * Alternate complex function syntax::
 * Volatile COMMON blocks::
+* OPEN( ... NAME=)::
 @end menu


@@ -2355,6 +2356,19 @@ invalid standard Fortran syntax and is n



+@node OPEN( ... NAME=)
+@subsection @code{OPEN( ... NAME=)}
+@cindex @code{NAM}
+
+Some Fortran compilers, including @command{g77}, let the user declare
+@code{OPEN( ... NAME=)}. This is
+invalid standard Fortran syntax and is not supported by
+@command{gfortran}.  @code{OPEN( ... NAME=)} should be replaced
+with @code{OPEN( ... FILE=)}.
+
+
+
+@c -
 @c -
 @c Mixed-Language Programming
 @c -

[Bug fortran/58000] Accept OPEN( ... NAME=) with -std=legacy

2015-08-26 Thread fxcoudert at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58000

Francois-Xavier Coudert fxcoudert at gcc dot gnu.org changed:

   What|Removed |Added

 CC||fxcoudert at gcc dot gnu.org

--- Comment #2 from Francois-Xavier Coudert fxcoudert at gcc dot gnu.org ---
(In reply to Dominique d'Humieres from comment #1)
 Unless someone objects I'll prepare another entry for the Extensions not
 implemented in GNU Fortran section of the manual.

I definitely think this is not worth it. We should indeed document it.


[Bug fortran/58000] Accept OPEN( ... NAME=) with -std=legacy

2014-02-08 Thread dominiq at lps dot ens.fr
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58000

Dominique d'Humieres dominiq at lps dot ens.fr changed:

   What|Removed |Added

 Status|UNCONFIRMED |WAITING
   Last reconfirmed||2014-02-08
 Ever confirmed|0   |1

--- Comment #1 from Dominique d'Humieres dominiq at lps dot ens.fr ---
I don't see the need for this extension: replacing NAME= (name=) with
FILE= (file=) is trivial with sed or other editing tools if the code does
not contain any variable 'NAME' ('name'). If it does, the task remains
semi-trivial using regular expressions.

Unless someone objects I'll prepare another entry for the Extensions not
implemented in GNU Fortran section of the manual.


[Bug fortran/58000] Accept OPEN( ... NAME=) with -std=legacy

2013-07-27 Thread kargl at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58000

kargl at gcc dot gnu.org changed:

   What|Removed |Added

 CC||kargl at gcc dot gnu.org
   Severity|normal  |enhancement