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: [RFC, Fortran, (pr66775)] Allocatable function result


Hi,

> On Jul 11, 2015, at 04:36 , Andre Vehreschild <vehre@gmx.de> wrote:
> 
>> 
>>   "On completion of execution of the function, the value returned
>>    is that of its function result. ... If the function result is
>>    not a pointer, its value shall be defined by the function."
> 
> Now we can argue whether the "shall be defined" is to be interpreted as "has to
> be" or as "might be". For me - being a non-native English speaker - that "shall"
> is not an obligation but should be interpreted as "commonly the function result
> is to be defined, but there can be exceptions". Now I am curious about how
> native English speakers understand that standard statement.

The standard is written in standardese, not English.

âShallâ is a requirement.  Full stop.

--

Cheers!
Dan Nagle





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