Thomas Koenig wrote: > this fixes a 4.7/4.8 regression with a bogus warning for variables > which were excluded from being imported by "use, only" if they > were in a common block inside the module. > > Regression-tested. OK for trunk and for 4.7 after a few days?
OK and thanks for the patch. > ! { dg-final { cleanup-modules "mm" } } I think due to Bernhard's patch, this line is no longer needed. Cf. http://gcc.gnu.org/ml/fortran/2012-03/msg00069.html and the unreviewed patch at http://gcc.gnu.org/ml/fortran/2012-04/msg00002.html Tobias