[Bug fortran/49638] [OOP] length parameter is ignored when overriding type bound character functions with constant length.
janus at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Sat Jul 30 16:16:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49638
janus at gcc dot gnu.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2011.07.30 16:16:12
CC| |janus at gcc dot gnu.org
Ever Confirmed|0 |1
--- Comment #1 from janus at gcc dot gnu.org 2011-07-30 16:16:12 UTC ---
Confirmed.
ifort says:
pr49638.f90(9): error #8280: An overriding binding and its corresponding
overridden binding must both be either subroutines or functions with the same
result type, kind, and shape. [STRING]
pgf95 says:
PGF90-S-0155-Result is not compatible with parent's result for type bound
procedure w2_string (pr49638.f90: 20)
More information about the Gcc-bugs
mailing list