This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/74765] missing uninitialized warning (parenthesis, TREE_NO_WARNING abuse)
- From: "manu at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 12 Aug 2016 14:46:07 +0000
- Subject: [Bug c++/74765] missing uninitialized warning (parenthesis, TREE_NO_WARNING abuse)
- Authentication-results: sourceware.org; auth=none
- Auto-submitted: auto-generated
- References: <bug-74765-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=74765
--- Comment #3 from Manuel López-Ibáñez <manu at gcc dot gnu.org> ---
(In reply to Richard Biener from comment #1)
> I wonder if we can somehow "annotate" locations with NO_WARNING
> (warning-option)
Wouldn't that be equivalent to internally generating a #pragma GCC diagnostic
ignored? If so, then we can do that already.