(j3.2006) (SC22WG5.5485) WG5 straw ballot on N2048
Mon Apr 6 07:50:21 EDT 2015
Please answer the following question "Is N2048 ready for forwarding to
SC22 as the PDTS?" in one of these ways.
2) Yes, but I recommend the following changes.
At the Feb. meeting of J3, we did not complete the changes needed for
when an image fails while executing a CRITICAL construct. I suggest
these edits to N2048.
[16:5-7] Replace the sentence "In the CRITICAL ... execute the
construct." by a new paragraph:
"If the processor has the ability to detect that an image has failed,
when an image completes execution of a CRITICAL statement that has a
STAT= specifier and the previous image to have entered the construct
failed while executing it, the specified variable becomes defined
with the value STAT_FAILED_IMAGE from the intrinsic module
ISO_FORTRAN_ENV. Otherwise, when an image completes execution of a
CRITICAL statement that has a STAT=specifier, the specified variable
becomes defined with the value zero. When an image completes execution
of a CRITICAL statement that has an ERRMSG= specifier and assigns a
nonzero value to the status variable of a STAT= specifier or would
have done so if a STAT= specifier had appeared, the processor shall
assign an explanatory message to the specified variable as if by
[37:4] Before "}" add
'After para 3, add a new para: "The effect of a STAT= or an ERRMSG=
specifier in a CRITICAL statement is explained in 8.5.7."'
[38:40] Before "}" add
"the following paragraphs, then add the final paragraph of 6.3
CRITICAL construct of this Technical Specification."
More information about the J3