[Bug fortran/37712] Parent component name getting confused with structure constructor
burnus at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Thu Oct 2 12:12:00 GMT 2008
------- Comment #2 from burnus at gcc dot gnu dot org 2008-10-02 12:11 -------
I'm completely lost with your example. You are talking about "parent component
name", but you have:
type x_t
which has no parent component.
Id had one if you used "type, extends(base_t) :: x_t". Then you could use:
call this%base_t%init (text)
or
call base_init (this%base_t, text)
However, even in this case it won't work as you are overriding "procedure init"
which is not allowed for the arguments you have passed.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37712
More information about the Gcc-bugs
mailing list