From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19294 invoked by alias); 29 Sep 2012 16:10:41 -0000 Received: (qmail 19097 invoked by uid 48); 29 Sep 2012 16:10:19 -0000 From: "burnus at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/54753] New: assumed-rank dummies: Reject assumed-size actuals in in some cases (C535c) Date: Sat, 29 Sep 2012 16:10:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Keywords: accepts-invalid X-Bugzilla-Severity: normal X-Bugzilla-Who: burnus at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2012-09/txt/msg02407.txt.bz2 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."