[Bug fortran/54221] Explicit private access specifier signals "unexpected defined but not used [-Wunused-function]" warning
burnus at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Sat Aug 11 09:06:00 GMT 2012
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.]
More information about the Gcc-bugs
mailing list