[Bug fortran/54753] New: assumed-rank dummies: Reject assumed-size actuals in in some cases (C535c)
burnus at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Sat Sep 29 16:10:00 GMT 2012
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54753
Bug #: 54753
Summary: assumed-rank dummies: Reject assumed-size actuals in
in some cases (C535c)
Classification: Unclassified
Product: gcc
Version: 4.8.0
Status: UNCONFIRMED
Keywords: accepts-invalid
Severity: normal
Priority: P3
Component: fortran
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: burnus@gcc.gnu.org
In the latest version of DTS 29113 (N1942, N1941), a new constraint was added,
which has to be implemented in gfortran:
Edits to N1917
--------------
In 5.2 Assumed-rank objects, and also at the end of 9.5 Edits to
clause 5, following constraint C535b in both subclauses, add a new
constraint:
"C535c If an assumed-size or nonallocatable nonpointer assumed-rank
array is an actual argument corresponding to a dummy argument that is
an INTENT(OUT) assumed-rank array, it shall not be polymorphic,
finalizable, of a type with an allocatable ultimate component, or of a
type for which default initialization is specified."
More information about the Gcc-bugs
mailing list