This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/54753] New: assumed-rank dummies: Reject assumed-size actuals in in some cases (C535c)
- From: "burnus at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 29 Sep 2012 16:10:18 +0000
- Subject: [Bug fortran/54753] New: assumed-rank dummies: Reject assumed-size actuals in in some cases (C535c)
- Auto-submitted: auto-generated
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."