This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: C PATCH to add -Woverride-init-side-effects (PR c/64918)
- From: Joseph Myers <joseph at codesourcery dot com>
- To: Marek Polacek <polacek at redhat dot com>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Thu, 7 May 2015 20:34:57 +0000
- Subject: Re: C PATCH to add -Woverride-init-side-effects (PR c/64918)
- Authentication-results: sourceware.org; auth=none
- References: <20150423223625 dot GH2813 at redhat dot com>
On Fri, 24 Apr 2015, Marek Polacek wrote:
> As discussed in the PR, the "initialized field with side-effects overwritten"
> warning is sometimes not so useful, so it probably makes sense to provide an
> option so that users are able to specifically enable/disable it. Since the
> warning is enabled by default at present, it is enabled by default even with
> this patch, unlike -Woverride-init, which is in -Wextra.
>
> Bootstrapped/regtested on x86_64-linux, ok for trunk?
OK.
--
Joseph S. Myers
joseph@codesourcery.com