This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [gfortran] Fix RETURN matcher was: Re: bug fc110


Tobias Schlüter wrote:


It would slightly, I suppose. If the rule I quoted is not a constraint, and
therefore doesn't enforce the space there, which rule does enforce that there
be a blank between REAL and FUNCTION and the function's name, for instance?
I'm always surprised how much there's to be learned about standards.


I mean "constraint" in the narrow sense of the standard.
For anything that is so listed, the compiler *must* be able
to diagnose it to be conformant. All of the rest of the rules
are just rules--there is no requirement that the compiler
diagnose any deviations from those rules.

The practical significance is that a programmer may
violate the rule, a vendor may accept the program, but
another vendor may not, so it is therefore not portable.

--
Walt Brainerd         +1-877-355-6640 (voice & fax)
The Fortran Company   +1-520-760-1397 (outside USA)
6025 N. Wilmot Road   walt@fortran.com
Tucson, AZ 85750 USA  http://www.fortran.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]