On Sat, Oct 03, 2015 at 12:13:12PM +0200, Mikael Morin wrote: > > I have finally managed to find a patch that doesn't regress in the > testsuite. > > The gfc_add_in_common call in gfc_match_common is delayed after the > array spec handling and without return value check, so that errors are > ignored. Another gfc_add_in_common call is necessary to report errors > again during resolution. This is patch number 2. > The error location for the second call is grabbed from the common block > struct, which is made accessible in the function by patch number 1. > > No regression on x86-unknown-linux-gnu, OK for trunk? >
The patch is OK. Thanks for taking over PR. -- Steve