http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54221
--- Comment #2 from Tobias Burnus <burnus at gcc dot gnu.org> 2012-08-11 09:06:21 UTC --- (In reply to comment #1) > a) There is a bogus warning. I think that's a middle-end bug See PR 54224. > Patch for issue (b): Seems to work. One might have to do likewise for module variables (gfc_finish_var_decl), cf. PR52751. [The original code has been added for PR40973 and fixed for PR52916.]