diff options
author | Matthew Beliveau <mbelivea@redhat.com> | 2019-06-21 17:50:29 +0000 |
---|---|---|
committer | Matthew Beliveau <mbelivea@gcc.gnu.org> | 2019-06-21 17:50:29 +0000 |
commit | da9e9b571483537a617d08ce7f0da84435497053 (patch) | |
tree | 55976f753683551efc49e3f8a7d93717cf059d6b /gcc/ChangeLog | |
parent | 69352933301e0f67078fff8404b1eeb5c14d6b60 (diff) | |
download | gcc-da9e9b571483537a617d08ce7f0da84435497053.zip gcc-da9e9b571483537a617d08ce7f0da84435497053.tar.gz gcc-da9e9b571483537a617d08ce7f0da84435497053.tar.bz2 |
PR c++/90875 - added -Wswitch-outside-range option
* doc/invoke.texi (Wswitch-outside-range): Document.
* c.opt (Wswitch-outside-range): Added new option.
* c-warn.c (c_do_switch_warnings): Use OPT_Wswitch-outside-range.
* c-c++-common/Wswitch-outside-range-1.c: New test.
* c-c++-common/Wswitch-outside-range-2.c: New test.
* c-c++-common/Wswitch-outside-range-3.c: New test.
* c-c++-common/Wswitch-outside-range-4.c: New test.
From-SVN: r272559
Diffstat (limited to 'gcc/ChangeLog')
-rw-r--r-- | gcc/ChangeLog | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index fa45d9d..14fb81a 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2019-06-21 Matthew Beliveau <mbelivea@redhat.com> + + PR c++/90875 - added -Wswitch-outside-range option + * doc/invoke.texi (Wswitch-outside-range): Document. + 2019-06-21 Jeff Law <law@redhat.com> PR tree-optimization/90949 |