aboutsummaryrefslogtreecommitdiff
path: root/gcc/fortran/trans-openmp.c
diff options
context:
space:
mode:
authorTim Shen <timshen@google.com>2016-11-09 22:11:32 +0000
committerTim Shen <timshen@gcc.gnu.org>2016-11-09 22:11:32 +0000
commit7ce69e5a7156b6ada7064e6b4e75da82d582982a (patch)
tree0e81d112ff6e0f52f5581c22bc26db396d352b6d /gcc/fortran/trans-openmp.c
parent39de19551b6b39d83ad791a39c72ec51f958b48b (diff)
downloadgcc-7ce69e5a7156b6ada7064e6b4e75da82d582982a.zip
gcc-7ce69e5a7156b6ada7064e6b4e75da82d582982a.tar.gz
gcc-7ce69e5a7156b6ada7064e6b4e75da82d582982a.tar.bz2
regex.h (regex_iterator::regex_iterator()): Define end() as _M_pregex == nullptr.
* libstdc++-v3/include/bits/regex.h (regex_iterator::regex_iterator()): Define end() as _M_pregex == nullptr. * libstdc++-v3/include/bits/regex.tcc (regex_iterator::operator==(), regex_iterator::operator++()): Fix operator==() and operator++() to look at null-ness of _M_pregex on both sides. * testsuite/28_regex/regression.cc: New testcase. From-SVN: r242025
Diffstat (limited to 'gcc/fortran/trans-openmp.c')
0 files changed, 0 insertions, 0 deletions