This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/84202] missing -Wnonnull on a returns_nonnull function returning null
- From: "msebor at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 05 Feb 2018 00:12:08 +0000
- Subject: [Bug tree-optimization/84202] missing -Wnonnull on a returns_nonnull function returning null
- Auto-submitted: auto-generated
- References: <bug-84202-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84202
Martin Sebor <msebor at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Blocks| |58689
--- Comment #1 from Martin Sebor <msebor at gcc dot gnu.org> ---
After some searching I came across bug 58689 that suggests the same thing
(among other returns_nonnull enhancements). I'm not sure it makes more sense
to resolve this bug as a duplicate of it or to treat bug 58689 as a meta-bug
and link this and any other smaller reports/requests having to do with
returns_nonnull to it.
Referenced Bugs:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58689
[Bug 58689] Enhance returns_nonnull