J3/02-203R2 Date: May 16, 2002 To: J3 From: Dick Hendrickson/Craig Dedo/JOR Subject: Edits from corrigendum 1 applied to F2k These are the edits needed to apply edits from Corrigendum 1 to the 007/R1 version of F2k. Each edit from Corrigendum 1 has been broken out into a separate chunk with the appropriate action marked by F2K In many cases the edits have already been applied and the updated text in 007/R1 is indicated. The header at the start of each group gives F95 page and line numbers and the number(s) of the interpretation that generated the edits. Page 32 [32:15] 82 Subclause 4.3.1.1 Replace text of constraint after R407 with “A boz-literal-constant may appear only as a data-stmt-constant in a DATA statement.” F2K: Done in C408, page 37:18-21 (and includes new text to broaden use of BOZ) NO CHANGE NEEDED Pages 39 and 40 [39:15-16], [39:23-24], [40:30] 70 Subclause 4.4.1 In the text of the constraint preceding R428, replace: “a constant specification expression (7.1.6.2)” with “an initialization expression (7.1.6.1)”. F2K: Done in C430 45:11 NO CHANGE NEEDED In the second constraint after R429, replace “a constant specification expression (7.1.6.2)” with “an initialization expression (7.1.6.1)”. F2K: Done in C433 45:15 NO CHANGE NEEDED F2K Edits from section 2 of paper 205 45:16 "contain" => "contains" 45:17+ Add a note NOTE 4.17.5 "A type-param-name is not an object. Therefore it is permissible for a bound in an explicit-shape-spec, or a type-param-value, to contain a reference to a type-param-name." [end 205 edits] In NOTE 4.19, replace “a constant” with “an initialization”. F2K: Done in Note 4.27, Page 51 NO CHANGE NEEDED Pages 48 and 49 [48:47-48], [49:1-3], [49:4-5], [49:9] 70 Subclause 5.1 In the final paragraph of Page 48, replace: “may be a nonconstant expression provided the specification expression” with “shall be an initialization expression unless it”. F2K: Done in 72:21-22 NO CHANGE NEEDED In the first paragraph of page 49: (i) delete the sentence: “If a ... nonconstant expression.”. F2K: Done Page 72:23 NO CHANGE NEEDED (ii) replace “such a nonconstant expression” with “a specification-expr that is not an initialization expression”. F2K: Done Page 72:24-25 NO CHANGE NEEDED In the first paragraph following NOTE 5.3, replace: “a nonconstant expression” with “an expression that is not an initialization expression”. F2K: Done Page 72:26 (now after Note 5.4) NO CHANGE NEEDED Page 51 [51:33] 70 Subclause 5.1.1.5 In the paragraph following NOTE 5.6, replace “a constant specification” with “an initialization”. F2K: Done in C546 on page 74:30-31 NO CHANGE NEEDED Page 53 [53:16-17] 77, 76 Subclause 5.1.2.3 Replace item (2) of the second constraint with (2) A pointer-object in a pointer-assignment-stmt or nullify-stmt, F2K: Done in (1) of C554 Page 81:9 NO CHANGE NEEDED Replace item (3) of the second constraint with (3) A do-variable in a do-stmt or io-implied-do, F2K: Page 413:7 (now in 16.5.7) replace (3) with above text Page 54 [54:29-30], [54:33],[54:34], [54:36-37] 70 Subclause 5.1.2.4.1 In the constraint, replace: “nonconstant expressions” with “expressions that are not initialization expressions”. F2K: Done in C550 Page 78:13 NO CHANGE NEEDED In line 2 after the constraint, replace “nonconstant specification” with “not initialization”. F2K: Done Page 78:16 NO CHANGE NEEDED In line 3 after the constraint, replace “nonconstant specification” with “not initialization”. F2K: Done Page 78:17 NO CHANGE NEEDED In lines 5 and 6 after the constraint, replace the sentence by “The bounds of such an array are unaffected by the redefinition or undefinition of any variable during execution of the procedure.”. F2K: Page 78:18-20 Replace the sentence beginning "The bounds of ..." with the above sentence Page 56 [56:32] [56:33-34] 70 Subclause 5.1.2.4.4 In line 1 of the final paragraph of the subclause, replace “nonconstant specification” with “not initialization”. F2K: Done Page 80:18 (now in 5.1.2.5.4) NO CHANGE NEEDED In the final paragraph of the subclause, replace the final sentence “The bounds of such...procedure.” with “The bounds of such an array are unaffected by the redefinition or undefinition of any variable during execution of the procedure.”. F2K: Page 80:19-20 Replace the sentence beginning "The bounds of ..." with the above sentence Page 69 [69:3-4] 70 Subclause 5.5.2 In lines 3-4 of page 69, replace “a constant specification expression (7.1.6.2)” with “an initialization expression (7.1.6.1)”. F2K: The constraint is deleted, but the action is effectively done in C550 Page 78:13-14 NO CHANGE NEEDED Pages 89 and 90 Subclause 7.1.2 [89:38], [90:9], [90:12] 03 In Table 7.1, penultimate line, change “requiring” to “with”. F2K: Page 123:8- Third from last line in note at end of table "7.7" Change "requiring" to "with" To the second paragraph of Page 90 (line 9), append: “For the relational intrinsic operators with character operands, the kind type parameters shall be the same”. F2K: Page 123:21 Append above sentence. In the third paragraph of page 90 (line 12), delete: “and have the same kind type parameter value”. F2K: Page 123:24 Make the same deletion Page 111 [111:8+] 79 Subclause 7.5.2 At the end of the paragraph that begins “The target shall”, append: “If the target is an allocatable array, it shall be currently allocated.”. F2K: Page 147:21+ (now in section 7.5.2.1, which has been extensively rewritten.) Append the following sentence: "If the target is allocatable, it shall be allocated.”. Page 176 [176:17] 69 Subclause 10.8.1 In the fourth paragraph of page 176, replace item (4) with (4) The leading characters are not digits followed by an asterisk, and F2K: 238:32 (now 10.9.1) replace (4) with the above text. Page 188 [188:28], [188, 31] 80 Subclause 11.3.2 In the second paragraph following NOTE 11.8, delete: “and public accessibility”. F2K: Page 251:1 Delete "and the PUBLIC attribute" In the paragraph preceding NOTE 11.9, delete: “with public accessibility” F2K: Page 251:4 Delete "with the PUBLIC attribute" Page 192 [192:26] 70 Subclause 12.2.2 In line 3 of the subclause, change “a constant” to “an initialization”. F2K: Done in Page 255:1 NO CHANGE NEEDED Page 266 [266:23], [266:26-29] 05 Subclause 13.14.95 After “Result Value.”, insert “If P or R is absent, the result value is as would have been obtained with the argument present with the value 0.” F2K: Page 343:37 Insert the above sentence. In lines 4-7 of the Result Value paragraph, replace “the result is –1 ... is supported.” with “the result is –1 if the processor does not support a real type with a precision greater than or equal to P but does support a real type with an exponent range greater than or equal to R, –2 if the processor does not support a real type with an exponent range greater than or equal to R but does support a real type with a precision greater than or equal to P, –3 if the processor supports no real type with either of these properties, and –4 if the processor supports real types for each separately but not together.” F2K: Page 344, lines 3-5 Make the above substitution---Note that the phrase "data type" has been changed to "data" in the above text in 6 places. Following the style of paper 202. Page 278 [278:41] 72 Subclause 14.1.2.4.1 In line 1 of the subclause, after “with” insert “a non-elemental reference to”. F2K: Page 274:44 (now in section 12.4.4.1) make the above insertion Pages 280 and 281 [280:41], [280:44], [281:4] 01, 83 Subclause 14.1.3 In line 2 of the subclause, replace: “implied-DO list” with “implied-DO”. F2K: Page 399:17 (now in section 16.3) To the first paragraph of the subclause, append: “The appearance of a name as the DO variable of an implied-DO in a DATA statement or an array constructor is not an implicit declaration of a variable whose scope is the scoping unit that contains the statement.”. F2K: Page 399:19 (now in section 16.3) Append the above sentence. To the end of the second paragraph, append: “The appearance of a name as an index-name in a FORALL statement or FORALL construct is not an implicit declaration of a variable whose scope is the scoping unit that contains the statement or construct.”. F2K: Page 399:23 (now in section 16.3) Append the above sentence. Page 283 [283:16+] 80 Subclause 14.6.1.3 Following NOTE 14.10, insert new paragraph: “An external or dummy procedure with an implicit interface that is accessed via host association shall explicitly be given the EXTERNAL attribute in the host scoping unit or be used as a procedure in that scoping unit; if it is invoked as a function in the inner scoping unit, its type and type parameters shall be explicitly declared in a type declaration statement in the host scoping unit or it shall be used as a procedure in the host scoping unit. An intrinsic procedure that is accessed via host association shall explicitly be given the INTRINSIC attribute in the host scoping unit or be used as an intrinsic procedure in that scoping unit.” F2K: Not done: See paper 205R1 Page 289 [289:9], [289:12] 84 Subclause 14.7.5 In item (6): (i) on line 2, before “entire” insert “dummy argument does not have INTENT(OUT) and the”. F2K: Done in Page 410:13 (now in section 16.5.5) NO CHANGE NEEDED (ii) before the first occurrence of “corresponding” on the last line, insert “dummy argument does not have INTENT(OUT) and the”. F2K: Done in Page 410:16 (now in section 16.5.5) NO CHANGE NEEDED 5/16/2002 203R1 Page 5 of 5