https://gcc.gnu.org/bugzilla/show_bug.cgi?id=125488
Harald Anlauf <anlauf at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Known to work| |16.0, 17.0
Known to fail| |15.2.1
--- Comment #5 from Harald Anlauf <anlauf at gcc dot gnu.org> ---
The F2018 GENERIC statement was implemented for gcc-16, see pr121488.
I think that upgrading is the best way forward.
