--- Comment #3 from burnus at gcc dot gnu dot org 2010-01-06 14:04 ---
Hmm, seemingly, comment 0 also works - at least with patch
http://gcc.gnu.org/ml/fortran/2010-01/msg00043.html
Close as WORKSFORME.
--
burnus at gcc dot gnu dot org changed:
What|Removed
--- Comment #2 from burnus at gcc dot gnu dot org 2010-01-06 13:57 ---
The following also looks bogus:
static struct t a = {.i=4};
Though, it seems to work - contrary to the version in comment 0.
program test
implicit none
type t
integer :: i = 4
integer, allocatable :: a(
--- Comment #1 from burnus at gcc dot gnu dot org 2010-01-06 09:53 ---
I think the function causing the trouble is gfc_conv_structure (with init=1).
The following is simply not true:
/* Skip absent members in default initializers and allocatable
components. Although th