This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: C PATCH to add -Woverride-init-side-effects (PR c/64918)


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]