http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35579
Steven Bosscher <steven at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |steven at gcc dot gnu.org
Resolution|--- |WONTFIX
--- Comment #10 from Steven Bosscher <steven at gcc dot gnu.org> ---
But the "false negatives" cannot be fixed in the front end.
And it's not the result of foo() that is unused: It's assigned
to "result". That "result" is unused is a different issue.