This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/54753] New: assumed-rank dummies: Reject assumed-size actuals in in some cases (C535c)


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."


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]