(j3.2006) (SC22WG5.5057) [ukfortran] WG5 vote on draft TS on further coarray features

Bill Long longb
Mon Aug 5 08:46:56 EDT 2013


> Nick Maclaren writes:
>> >Passim.  The specification is messy and restrictive, and should be
>> >changed.  For example, it is not possible to reduce INTENT(IN) examples.

The INTENT(IN) case seems too trivial to justify changing a spec that is 
increasingly in production use.  If you want

co_sum( <expr>, X)

just write

X = <expr>
co_sum(X)

instead.  The second form avoids the compiler having to create a temp 
for <expr>, which you would want to avoid anyway if X is an array.

Cheers,
Bill

-- 
Bill Long                                           longb at cray.com
Fortran Technical Support    &                 voice: 651-605-9024
Bioinformatics Software Development            fax:   651-605-9142
Cray Inc./Cray Plaza, Suite 210/380 Jackson St./St. Paul, MN 55101





More information about the J3 mailing list