From: Martin Liska Date: Wed, 21 Feb 2018 07:57:52 +0000 (+0100) Subject: Add IntegerRange for Wcatch-value= option. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b22dbd03f06c5d3b5e71ae99b55b5d7d21a11cd9;p=gcc.git Add IntegerRange for Wcatch-value= option. 2018-02-21 Martin Liska * c.opt (Wcatch-value=): Add IntegerRange. From-SVN: r257869 --- diff --git a/gcc/c-family/ChangeLog b/gcc/c-family/ChangeLog index 3a124d0c161..49cfea95b3d 100644 --- a/gcc/c-family/ChangeLog +++ b/gcc/c-family/ChangeLog @@ -1,3 +1,7 @@ +2018-02-21 Martin Liska + + * c.opt (Wcatch-value=): Add IntegerRange. + 2018-02-15 Jason Merrill * c-cppbuiltin.c (c_cpp_builtins): Update __cpp_deduction_guides. diff --git a/gcc/c-family/c.opt b/gcc/c-family/c.opt index 7fb386d456d..421b1464545 100644 --- a/gcc/c-family/c.opt +++ b/gcc/c-family/c.opt @@ -397,7 +397,7 @@ C++ ObjC++ Warning Alias(Wcatch-value=, 1, 0) Warn about catch handlers of non-reference type. Wcatch-value= -C++ ObjC++ Var(warn_catch_value) Warning Joined RejectNegative UInteger LangEnabledBy(C++ ObjC++,Wall, 1, 0) +C++ ObjC++ Var(warn_catch_value) Warning Joined RejectNegative UInteger LangEnabledBy(C++ ObjC++,Wall, 1, 0) IntegerRange(0, 3) Warn about catch handlers of non-reference type. Wchar-subscripts