diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2020-02-24 14:22:21 +0000 |
---|---|---|
committer | Jonathan Wakely <jwakely@redhat.com> | 2020-02-24 14:22:21 +0000 |
commit | 8566286eaeb9a977339df88212826150767f1203 (patch) | |
tree | d11efa9029570f584224de11a20ce5de2b31a7eb /gcc/fortran/decl.c | |
parent | 32b8f5df9f05426c82c6de1acaf9ca4aec68039d (diff) | |
download | gcc-8566286eaeb9a977339df88212826150767f1203.zip gcc-8566286eaeb9a977339df88212826150767f1203.tar.gz gcc-8566286eaeb9a977339df88212826150767f1203.tar.bz2 |
libstdc++: Fix noexcept-specifier for istream_iterator
Somehow I missed that the _M_value member can throw on construction.
* include/bits/stream_iterator.h (istream_iterator(default_sentinel_t)):
Make noexcept-specifier conditional.
* testsuite/24_iterators/istream_iterator/cons/sentinel.cc: Check
noexcept-specifier.
Diffstat (limited to 'gcc/fortran/decl.c')
0 files changed, 0 insertions, 0 deletions