diff options
author | François Dumont <fdumont@gcc.gnu.org> | 2019-11-24 17:09:44 +0000 |
---|---|---|
committer | François Dumont <fdumont@gcc.gnu.org> | 2019-11-24 17:09:44 +0000 |
commit | af4e8d4d5aa3a13bc9e2a8aa50341043e8ad6c61 (patch) | |
tree | d2ed480c1b521252fc2ec2c54b252c09b966866f /libgfortran/io | |
parent | 74b9f8dfe18b51280ecb9b68e0de7d4f7e36e973 (diff) | |
download | gcc-af4e8d4d5aa3a13bc9e2a8aa50341043e8ad6c61.zip gcc-af4e8d4d5aa3a13bc9e2a8aa50341043e8ad6c61.tar.gz gcc-af4e8d4d5aa3a13bc9e2a8aa50341043e8ad6c61.tar.bz2 |
libstdc++: Improve _GLIBCXX_DEBUG __valid_range check
Adds iterator singular check within the valid range check.
* include/debug/functions.h: Remove <bits/move.h> include.
(__check_singular_aux, __check_singular): Move...
* include/debug/helper_functions.h:
(__check_singular_aux, __check_singular): ...here.
(__valid_range_aux): Adapt to use latter.
Add <bits/move.h> include.
* testsuite/25_algorithms/copy/debug/2_neg.cc: New.
From-SVN: r278658
Diffstat (limited to 'libgfortran/io')
0 files changed, 0 insertions, 0 deletions