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/41872] wrong-code: No auto-deallocation for INTENT(OUT) allocatable scalars



------- Comment #1 from burnus at gcc dot gnu dot org  2009-10-29 22:52 -------
Note: For arrays, the following block of trans-expr.c is used:

              /* If an ALLOCATABLE dummy argument has INTENT(OUT) and is
                 allocated on entry, it must be deallocated.  */
              if (fsym && fsym->attr.allocatable
                  && fsym->attr.intent == INTENT_OUT)


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41872


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