Hi Steve,

On Fri, Nov 15, 2019 at 10:40:56AM +0000, Mark Eggleston wrote:
This patch allows comparison of numeric values with Holleriths. This
feature is not guarded by a compiler option as it is preferred that
extra options should avoided, this seems reasonable as current Hollerith
support does not have such an option.

IMHO.

Has the comparison of a numeric value and a hollerith
ever been allowed in a Fortran standard?  If the answer
is 'No', then you should (1) put the comparison behind
an option, and (2) have gfortran issue an error without
the option.  If this is a DEC extension, then put it
behind -fdec.  If this misfeature is not a DEC extension
but allow some ancient piece of code to compile, then
put it behind -std=lagacy.

I concur.

Additionally, please put in a test case which confirms that
an error is indeed emitted without that particular option.

Regards

        Thomas

Reply via email to