Hi all, this simple patch improves some of the diagnostics for invalid ASSOCIATE statements:
https://github.com/janusw/gcc/commit/2f484479c741abddc8ac473cb0c1b9010397e006 In particular it gives a more precise locus and improved wording, which is achieved basically by splitting a 'gfc_match' into two separate ones. Regtests cleanly on x86_64-linux-gnu. Ok for trunk? Cheers, Janus