https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83820
Martin Sebor <msebor at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |diagnostic
Status|UNCONFIRMED |NEW
Last reconfirmed| |2018-01-12
CC| |msebor at gcc dot gnu.org
See Also| |https://gcc.gnu.org/bugzill
| |a/show_bug.cgi?id=81544
Ever confirmed|0 |1
--- Comment #1 from Martin Sebor <msebor at gcc dot gnu.org> ---
Confirmed, thanks. GCC 8 does a better job diagnosing these issues (e.g., it
complains about attribute malloc on a void function) but this case was missed
in r255469. There probably are other meaningless declarations that would be
helpful to warn about so please open a new bug for each.