[Bug fortran/71565] INTENT(IN) polymorphic argument with pointer components - reject valid code

anlauf at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Dec 19 17:24:25 GMT 2025


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71565

anlauf at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|unassigned at gcc dot gnu.org      |anlauf at gcc dot gnu.org
             Status|NEW                         |ASSIGNED

--- Comment #8 from anlauf at gcc dot gnu.org ---
Created attachment 63102
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=63102&action=edit
Draft patch

This patch is my best solution to the issue so far.

While iterating on intermediate regressions, I came to the conclusion that
gfortran.dg/protected_8.f90 has incorrect tests that need fixing.


More information about the Gcc-bugs mailing list