This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [RFC, Fortran, (pr66775)] Allocatable function result
- From: Dan Nagle <danlnagle at mac dot com>
- To: Andre Vehreschild <vehre at gmx dot de>
- Cc: Steve Kargl <sgk at troutmask dot apl dot washington dot edu>, Mikael Morin <mikael dot morin at sfr dot fr>, GCC-Patches-ML <gcc-patches at gcc dot gnu dot org>, GCC-Fortran-ML <fortran at gcc dot gnu dot org>, Paul Richard Thomas <paul dot richard dot thomas at gmail dot com>
- Date: Sat, 11 Jul 2015 05:58:02 -0600
- Subject: Re: [RFC, Fortran, (pr66775)] Allocatable function result
- Authentication-results: sourceware.org; auth=none
- References: <20150709122518 dot 08388506 at vepi2> <20150709175047 dot GA70209 at troutmask dot apl dot washington dot edu> <DE4F2D8C-D4E3-4CE3-8991-A0F372C555AA at gmx dot de> <20150709194131 dot GA29199 at troutmask dot apl dot washington dot edu> <20150710114432 dot 2adff6d8 at vepi2> <20150710134121 dot GA91910 at troutmask dot apl dot washington dot edu> <559FF0DF dot 8080107 at sfr dot fr> <20150710185713 dot GA92724 at troutmask dot apl dot washington dot edu> <20150711123648 dot 1ac46e2a at vepi2>
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
- References:
- [RFC, Fortran, (pr66775)] Allocatable function result
- Re: [RFC, Fortran, (pr66775)] Allocatable function result
- Re: [RFC, Fortran, (pr66775)] Allocatable function result
- Re: [RFC, Fortran, (pr66775)] Allocatable function result
- Re: [RFC, Fortran, (pr66775)] Allocatable function result
- Re: [RFC, Fortran, (pr66775)] Allocatable function result
- Re: [RFC, Fortran, (pr66775)] Allocatable function result
- Re: [RFC, Fortran, (pr66775)] Allocatable function result
- Re: [RFC, Fortran, (pr66775)] Allocatable function result