[Bug fortran/66409] Reporting ambiguous interface when overloading assignment with polymorphic array

anlauf at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Oct 7 19:15:59 GMT 2022


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

anlauf at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |WAITING

--- Comment #4 from anlauf at gcc dot gnu.org ---
IIRC type(*), dimension(..) is beyond F2008, this is F2018.
At least the NAG compiler says so.  The Cray compiler 14.0 fails for me,
as well as Nvidia.

Tobias recently updated support for type(*), dimension(*) according to the
F2018 standard.

Assumed rank still has some unfixed issues, and I think we are happy for
all contributions to make progress here.

> Is this ever going to be fixed?

This is not a contribution to that end.

Note that the complaint from comment#2 has little to do with the original
PR, comment#0, which is accepted by current mainline.  Even with my 7.5.0
installation.

Should we rather close this PR as WORKSFORME and open a new one about
the F2018 stuff?  Once we clarifies that the complaint is valid?

@Steve: I thought there is something in the standard that says how the
resolution (specific then generic) works, but cannot find it now...


More information about the Gcc-bugs mailing list