diff options
author | Patrick Palka <ppalka@redhat.com> | 2020-02-28 10:47:26 -0500 |
---|---|---|
committer | Patrick Palka <ppalka@redhat.com> | 2020-02-28 11:55:58 -0500 |
commit | 77e596cf3c1b7bc11ba946394ed8d62a49157b49 (patch) | |
tree | 6b6a0525d9558bd1e6a2c1f5b09f83b0e4e5dad0 /gcc/fortran/trans-expr.c | |
parent | 08bf7bde9f2987b1c623d272cc71fc14a1622442 (diff) | |
download | gcc-77e596cf3c1b7bc11ba946394ed8d62a49157b49.zip gcc-77e596cf3c1b7bc11ba946394ed8d62a49157b49.tar.gz gcc-77e596cf3c1b7bc11ba946394ed8d62a49157b49.tar.bz2 |
libstdc++: Also disable caching of reverse_view::begin() for common_ranges
When the underlying range models common_range, then reverse_view::begin() is
already O(1) without caching. So we should disable the cache in this case too.
libstdc++-v3/ChangeLog:
* include/std/ranges (reverse_view::_S_needs_cached_begin): Set to false
whenever the underlying range models common_range.
Diffstat (limited to 'gcc/fortran/trans-expr.c')
0 files changed, 0 insertions, 0 deletions