summaryrefslogtreecommitdiff
path: root/libstdc++-v3/ChangeLog
diff options
context:
space:
mode:
authorredi <redi@138bc75d-0d04-0410-961f-82ee72b054a4>2015-11-12 17:08:42 +0000
committerredi <redi@138bc75d-0d04-0410-961f-82ee72b054a4>2015-11-12 17:08:42 +0000
commitddb640e427ae8e64e0963e48bc9914cb8ea4f071 (patch)
tree817903a0b4bf341a255787e22cfbdece9e78ac43 /libstdc++-v3/ChangeLog
parent7f66a1d3b83b24bdcc3b57115c263d4e35543603 (diff)
downloadgcc-ddb640e427ae8e64e0963e48bc9914cb8ea4f071.tar.gz
Extend valid values of iostream bitmask types
PR libstdc++/56158 * include/bits/ios_base.h (_Ios_Fmtflags, _Ios_Openmode, _Ios_Iostate): Define enumerators to ensure all values of type int are valid values of the enumeration type. * testsuite/27_io/ios_base/types/fmtflags/case_label.cc: Add new cases. * testsuite/27_io/ios_base/types/iostate/case_label.cc: Likewise. * testsuite/27_io/ios_base/types/openmode/case_label.cc: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@230267 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3/ChangeLog')
-rw-r--r--libstdc++-v3/ChangeLog8
1 files changed, 8 insertions, 0 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog
index 2222b572d03..e1cc38ff1ef 100644
--- a/libstdc++-v3/ChangeLog
+++ b/libstdc++-v3/ChangeLog
@@ -1,5 +1,13 @@
2015-11-12 Jonathan Wakely <jwakely@redhat.com>
+ PR libstdc++/56158
+ * include/bits/ios_base.h (_Ios_Fmtflags, _Ios_Openmode, _Ios_Iostate):
+ Define enumerators to ensure all values of type int are valid values
+ of the enumeration type.
+ * testsuite/27_io/ios_base/types/fmtflags/case_label.cc: Add new cases.
+ * testsuite/27_io/ios_base/types/iostate/case_label.cc: Likewise.
+ * testsuite/27_io/ios_base/types/openmode/case_label.cc: Likewise.
+
* include/std/thread: Include <cerrno> for EINTR.
2015-11-12 Ville Voutilainen <ville.voutilainen@gmail.com>