[Bug fortran/126485] [16/17 Regression] caused by r16-8455 / `64e03b96dfe`: Fortran: fix resolution of generic interface with TYPE(C_PTR) [PR66973]

albert at tugraz dot at via Gcc-bugs <[email protected]>
Newsgroups gmane.comp.gcc.bugs
Message-ID <[email protected]/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=126485

--- Comment #2 from Christopher Albert <albert at tugraz dot at> ---
Created attachment 65182
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=65182&action=edit
0001-fortran-Skip-artificial-dummies-in-C-pointer-checks-.patch

Skip the ISO_C_BINDING function check only for artificial dummies in inferred
interfaces. Declared interfaces remain checked. Compared with attachment
65169, this leaves the PR66973 check in place for real dummies. The new test
and generic_36-2 pass; check-fortran and the libgomp Fortran suites are clean.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.