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]

more enabledby updates


A few more straightforward uses. Bootstrapped and regression tested.

A strange thing is that -Wextra enables -Wtype-limits only in
C-family, however, it remains with value -1 in the rest of languages,
that is, enabled by default. I am surprised it does not trigger often
for Fortran and Ada.

OK?

2012-05-13  Manuel López-Ibáñez  <manu@gcc.gnu.org>

c-family/
	* c.opt (Wclobbered,Wempty-body,Wignored-qualifiers,
	Wmissing-field-initializers,Wmissing-parameter-type,
	Wold-style-declaration,Woverride-init): Use EnabledBy.
	* c-opts.c (c_common_post_options): Do not set here explicitly.
gcc/
	* common.opt (Wtype-limits): Use EnabledBy.

Attachment: enabledby.diff
Description: Binary data


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