http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49213

--- Comment #13 from janus at gcc dot gnu.org ---
(In reply to janus from comment #12)
> 
> type(t) :: x = t(y)
>                  1
> Error: Can't convert TYPE(t) to CLASS(*) at (1)

The patch in comment 8 turns this error into:

type(t) :: x = t(y)
                 1
Error: Parameter 'y' at (1) has not been declared or is a variable, which does
not reduce to a constant expression

Reply via email to