https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66869

--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Another possibility would be for warn_unused_function to add even the seemingly
unused decls into the cgraph and let the cgraph code actually complain.

Reply via email to