http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60751

--- Comment #9 from Walter Spector <w6ws at earthlink dot net> ---
Harald and Steve: I am quite aware of the std= options, thanks.

My main point is that the default situation violates the Principle of Least
Astonishment.  I don't have a problem with gfortran offering such an extension
(though I think providing it in the first place was a waste of time).  But
since it offers no desireable new capability, and allows gratuitous
incompatibility with other compilers, it would at least be worth a warning. 
The ideal would be to only allow it under a -f option - but don't do that on my
account.

In fact the gfortran man page for the -std= argument states:

           "...The default
           value for std is gnu, which specifies a superset of the Fortran 95
           standard that includes all of the extensions supported by GNU
           Fortran, although warnings will be given for obsolete extensions
           not recommended for use in new code..."

I would opine that this extension is obsolete and not recommeded for use in new
code.  Therefore a warning should be given.

Reply via email to