@@ -535,7 +535,7 @@ this point.
535
535
536
536
* 15.4.3.4.5 Restrictions on generic declarations
537
537
538
- [317:10+] Insert new paragraphs to address deferred arguments:
538
+ [317:10+] Insert new paragraphs to address deferred arguments:
539
539
540
540
"An entity with a kind-type parameter whose value depends on a
541
541
deferred argument is only TKR compatible with another entity,
@@ -548,7 +548,6 @@ this point.
548
548
of an implied-rank entity is not declared with a rank clause, it
549
549
does not have the same rank as any other entity."
550
550
551
-
552
551
{ Is "depends on" acceptable terminology here? }
553
552
554
553
NOTE Some examples of implied-rank entities are shown in the
@@ -589,6 +588,29 @@ this point.
589
588
END SUBROUTINE
590
589
END TEMPLATE
591
590
591
+ * 15.5.2.5 Ordinary dummy variables
592
+
593
+ [326:6] After first sentence of p3, insert a new sentence about for
594
+ compatibility of dummy arguments with deferred kind:
595
+
596
+ "If a kind-type parameter of the actual argument or its
597
+ corresponding dummy argument depends on a deferred constant, then
598
+ both shall have syntactically equivalent declarations for that
599
+ kind-type parameter."
600
+
601
+ {deferred kind}
602
+
603
+ [327:12] After p15 introduce new paragraph to address deferred rank
604
+ entities:
605
+
606
+ "If the rank of the actual argument or its corresponding dummy
607
+ argument depend on a deferred constant, then their ranks agree if
608
+ and only if they are declared with syntactically equivalent
609
+ expressions."
610
+
611
+
612
+ {deferred rank}
613
+
592
614
* 15.6.2.1 General
593
615
594
616
{<prefix-spec> for templated procedures.}
0 commit comments