Hi all, please find attached the first part of a two parts patch fixing pr/60322. This first patch is only preparatory and does not change any of the semantics of gfortran at all. It only modifies the compiler code to have the symbol_attribute and the gfc_array_spec in a separate variable in the some routines. The second part of the patch will then initialize these variables with either the (sym.attr and sym.as) or (CLASS_DATA(sym).attr and CLASS_DATA(sym).as), respectively, depending on whether the current symbol is a regular array or a class array. Bootstraps and regtests ok on x86_64-linux-gnu/F20. Regards, Andre -- Andre Vehreschild * Email: vehre ad gmx dot de