To: J3 J3/26-194r1 Subject: Edit: Reorganise 17.6 collective subroutines From: Dan Bonachea & Malcolm Cohen Date: 2026-October-21 References: 25-202r3, 26-194, N2286 1. Introduction See 26-194 (i.e. the r0) for background information. This paper does a more comprehensive reorganisation of subclause 17.6, to improve readability, without changing any words other than a typo fix. 2. Edits to N2258 All edits are to 17.6 Collective subroutines, which begins at line 25 of p419. References to paragraph/constraint/NOTE numbers are to the ones in N2258; LaTeX will automatically renumber everything afterwards. [419:26-29] p1. Leave it as is. [419:29+] Move C1703 "A reference to a collective subroutine shall not..." from [420:22-23] to immediately follow p1. [419:29++] Move the last sentence of p3 [420:7-9] "A collective subroutine shall not be referenced... CRITICAL construct)." to immediately follow C1703 as a new paragraph. [419:29+++] Move NOTE 4 [421:15+4-6] "Although... statement." to immediately follow the new paragraph. [419:30-420:22] Leave p2 and the rest of p3 where they are. [420:9+1-7] Leave NOTE 1 where it is, i.e. following the rest of p3. [420:10--] Move p6 "If the A argument..." from [420:24-25] to follow NOTE 1. [420:10-] Move C1702 "If the COMPLETION argument..." from [420:20-21] to here, i.e. in between p6 and p4. [420:10-19] Leave p4 and p5 as is. [420:21+1-3] Leave NOTE 2 here, viz immediately following p5 (we already moved C1702 away). [420:26-32] Leave p7 here, viz immediately following NOTE 2 (we already moved p6 away). [420:32+] Move NOTE 3 "The argument A becomes undefined..." from [421:15+1-3] to immediately following p7. [421:1-15] Leave p8 to p11 in place (we already moved NOTEs 3 and 4, which followed p11, away). [421:12] p10, last sentence change "nor the reference" to "nor a reference". {References to COMPLETE are not necessarily singular, nor has it been established which one we would be talking about.} ===END===