aboutsummaryrefslogtreecommitdiff
path: root/gcc/except.c
diff options
context:
space:
mode:
authorManuel López-Ibáñez <manu@gcc.gnu.org>2007-05-20 20:29:55 +0000
committerManuel López-Ibáñez <manu@gcc.gnu.org>2007-05-20 20:29:55 +0000
commitf6aa72dd497916b60e7a3c29e235241dadba3274 (patch)
tree90312ab1a9121fa6e7864a7b15bdaf3260ab1b8b /gcc/except.c
parentda5a2efd39b67a36c4e70f059ffbbb6103606f3e (diff)
downloadgcc-f6aa72dd497916b60e7a3c29e235241dadba3274.zip
gcc-f6aa72dd497916b60e7a3c29e235241dadba3274.tar.gz
gcc-f6aa72dd497916b60e7a3c29e235241dadba3274.tar.bz2
re PR middle-end/7651 (Define -Wextra strictly in terms of other warning flags)
2007-05-20 Manuel Lopez-Ibanez <manu@gcc.gnu.org> PR middle-end/7651 PR c++/11856 PR c/12963 PR c/23587 PR other/29694 * c.opt (Wtype-limits): New. * doc/invoke.texi (Wtype-limits): Document it. (Wextra): Enabled by -Wextra. * c-opts.c (c_common_post_options): Enabled by -Wextra. * c-common.c (shorten_compare): Warn with Wtype-limits. testsuite/ * gcc.dg/compare6.c: Replace Wall with Wtype-limits. * gcc.dg/Wtype-limits.c: New. * gcc.dg/Wtype-limits-Wextra.c: New. * gcc.dg/Wtype-limits-no.c: New. * g++.dg/warn/Wtype-limits.C: New. * g++.dg/warn/Wtype-limits-Wextra.C: New. * g++.dg/warn/Wtype-limits-no.C: New. From-SVN: r124875
Diffstat (limited to 'gcc/except.c')
0 files changed, 0 insertions, 0 deletions