https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122644
kargls at comcast dot net changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |kargls at comcast dot net
--- Comment #2 from kargls at comcast dot net ---
The code compiles and executes with GNU Fortran (GCC) 16.0.0 20251108
(experimental)
% gfcx -o z a.f90
% ./z
Test completed successfully!
It currently fails with GNU Fortran (GCC) 15.2.1 20251110
% gfc15 -o z -fmax-errors=1 a.f90
a.f90:32:26:
32 | CLASS(generic_type(*)), INTENT(INOUT) :: self
| 1
Error: 'abstract_base' at (1) is of the ABSTRACT type 'abstract_base'
compilation terminated due to -fmax-errors=1.
A large number of bugs have recently been fixed with parameterized
derived types in the main branch of development. It seems that the
fix for this bug has yet to be back ported to 15.x branch.