diff options
author | Matthew Beliveau <mbelivea@redhat.com> | 2019-08-01 18:04:23 +0000 |
---|---|---|
committer | Matthew Beliveau <mbelivea@gcc.gnu.org> | 2019-08-01 18:04:23 +0000 |
commit | ce529ffca708a635f434a99bf082dec2a1ba0446 (patch) | |
tree | b19701c7330848dda616d6fafc0d5fdaff5f5fd8 /gcc/predict.c | |
parent | 2c726f944444e62eae732dcc704479096796187b (diff) | |
download | gcc-ce529ffca708a635f434a99bf082dec2a1ba0446.zip gcc-ce529ffca708a635f434a99bf082dec2a1ba0446.tar.gz gcc-ce529ffca708a635f434a99bf082dec2a1ba0446.tar.bz2 |
re PR c++/90590 (enumeration value not handled in switch warning for std::ios_base::seek_dir)
PR c++/90590
* c-warn.c (c_do_switch_warnings): Suppress warning for enumerators
with reserved names that are in a system header.
* c-c++-common/pr90590-1.c: New test.
* c-c++-common/pr90590-1.h: New test.
* c-c++-common/pr90590-2.c: New test.
* c-c++-common/pr90590-2.h: New test.
From-SVN: r273980
Diffstat (limited to 'gcc/predict.c')
0 files changed, 0 insertions, 0 deletions