Mikael Morin wrote:
Here is another attempt. I moved the diagnostic code from gfc_resolve_iterator to resolve_array_list, so that it doesn't trigger for do loops. Regression test in progress. OK?
The patch looks OK:Though, I wonder why you only get a warning (which is fine); I thought that -std=gnu (the default) – and, in particular, in combination with -pedantic (test-suite default) – will give an error for gfc_notify_standard, not a warning.
Tobi