diff options
author | Patrick Palka <ppalka@redhat.com> | 2022-04-15 14:41:14 -0400 |
---|---|---|
committer | Patrick Palka <ppalka@redhat.com> | 2022-04-15 14:41:14 -0400 |
commit | 7e76cef873342a66408c126abceaf7dbddd3f477 (patch) | |
tree | 8a816011c97dd3edf618d648833df78980329f55 /libgo/go | |
parent | eb3f2e9348e8057f4219859a96739ff1ba350611 (diff) | |
download | gcc-7e76cef873342a66408c126abceaf7dbddd3f477.zip gcc-7e76cef873342a66408c126abceaf7dbddd3f477.tar.gz gcc-7e76cef873342a66408c126abceaf7dbddd3f477.tar.bz2 |
libstdc++: Avoid double-deref of __first in ranges::minmax [PR104858]
PR libstdc++/104858
libstdc++-v3/ChangeLog:
* include/bits/ranges_algo.h (__minmax_fn): Avoid dereferencing
__first twice at the start.
* testsuite/25_algorithms/minmax/constrained.cc (test06): New test.
Diffstat (limited to 'libgo/go')
0 files changed, 0 insertions, 0 deletions