https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64678
Harald Anlauf <anlauf at gmx dot de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |anlauf at gmx dot de --- Comment #5 from Harald Anlauf <anlauf at gmx dot de> --- (In reply to Dominique d'Humieres from comment #4) > > Indeed, that's the easy workaround. I'd have thought the obvious definition > > for the single multi-associate statement would be to be a shortcut exactly > > equivalent to nested associates. > > In my mind it was not a workaround. From what I understand (little) of the > Kargl's comment 1, the two forms should be either rejected or accepted. I tried NAG, PGI and xlf. All of them accept the 'nested' version, but only PGI accepts the original code. xlf 14: "pr64678.f90", line 10.22: 1514-091 (S) Invalid structure component reference. The object name and all component names (except the rightmost) must be of type derived. NAG 6: NAG Fortran Compiler Release 6.0(Hibiya) Build 1032 Product NPL6A60NA for x86-64 Linux Copyright 1990-2014 The Numerical Algorithms Group Ltd., Oxford, U.K. f95comp version is Hibiya(6.0) Build 1032 Error: pr64678.f90, line 10: A is not of derived type detected at %@MAP So I think Steve has pointed into the right direction. Nevertheless, consider posting your code on c.l.f.