http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53544
--- Comment #2 from Harald Anlauf <anlauf at gmx dot de> 2012-05-31 20:27:26 UTC --- (In reply to comment #0) > It is my understanding that the variables in a namelist group declaration must > not be a dummy array with non-constant bound, a variable with non-constant > character length, an automatic object, an allocatable array, a pointer, or > have > a component at any depth that is a pointer or is inaccessible. The case in the > example program falls into none of these categories, and therefore should be > accepted by the compiler as valid code. >From the F2008 draft standard: R564 namelist-group-object is variable-name R603 variable-name is name C603 (R603) variable-name shall be the name of a variable. I think that ct%a is a structure component and does not qualify as the name of a variable.