Re: [patch, Fortran] Fix PR 49693, unused variable warnings in common blocks

2012-01-04 Thread Thomas Koenig
Hi Tobias, Regression-tested. OK for trunk? OK. Thanks for the patch. Committed (rev. 182869). Thanks for the review! (I also updated the copyright years, as requested in private E-Mail.) Thomas

Re: [patch, Fortran] Fix PR 49693, unused variable warnings in common blocks

2012-01-04 Thread Tobias Burnus
Thomas Koenig wrote: > the attached patch fixes the PR by unconditionally disabling warnings > about unused variables in common blocks. I was wondering whether it disables intended diagnostic. However, I think setting TREE_USED () is OK. Common-related diagnostic is better done by the front end (v

[patch, Fortran] Fix PR 49693, unused variable warnings in common blocks

2012-01-03 Thread Thomas Koenig
Hello world, the attached patch fixes the PR by unconditionally disabling warnings about unused variables in common blocks. The reasons are outlined in the PR; there is quite a lot of unnecessary clutter caused by common blocks in module interfaces. Regression-tested. OK for trunk? Th