[Bug fortran/85750] [7/8/9 Regression] Default initialization of derived type array missing
anlauf at gmx dot de
gcc-bugzilla@gcc.gnu.org
Wed Dec 12 21:32:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85750
--- Comment #4 from Harald Anlauf <anlauf at gmx dot de> ---
(In reply to Stephan Kramer from comment #0)
Workaround:
> function make_list(i)
> integer, intent(in) :: i
> type(ilist), dimension(2) :: make_list
make_list = ilist()
> make_list(i)%count = 1
>
> end function make_list
More information about the Gcc-bugs
mailing list