[Bug fortran/54618] [OOP] wrong-code with CLASS(...), INTENT(OUT) -- and OPTIONAL or ALLOCATABLE

burnus at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Oct 3 14:20:00 GMT 2012


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

Tobias Burnus <burnus at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #28304|0                           |1
        is obsolete|                            |

--- Comment #14 from Tobias Burnus <burnus at gcc dot gnu.org> 2012-10-03 14:20:22 UTC ---
Created attachment 28341
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=28341
Updated OPTIONAL patch

Current version of my OPTIONAL patch. Changes:
- polymorphic scalar coarray to polymorphic noncoarrays work now
- Much extended test case (and plenty of new FIXMEs)
TODO: Fix those FIXMEs.

Other TODO items:
- Support packing of assumed-rank arrays
  (see just attached test case; but otherwise an unrelated issue)
- Fix INTENT(OUT) handling for allocatable polymorphic arrays (cf. comment 0)
- Analyse the old issue related to class_array_7.f03 (comment 11, comment 12)



More information about the Gcc-bugs mailing list