https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97828
Patrick Palka changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97828
--- Comment #9 from CVS Commits ---
The releases/gcc-10 branch has been updated by Patrick Palka
:
https://gcc.gnu.org/g:04cb64dadb5c115b4ad093ff92c3f5a0a87ef15f
commit r10-9036-g04cb64dadb5c115b4ad093ff92c3f5a0a87ef15f
Author: Patrick Palka
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97828
--- Comment #8 from CVS Commits ---
The master branch has been updated by Patrick Palka :
https://gcc.gnu.org/g:8661f4faa875f361cd22a197774c1fa04cd0580b
commit r11-5096-g8661f4faa875f361cd22a197774c1fa04cd0580b
Author: Patrick Palka
Date:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97828
--- Comment #7 from Patrick Palka ---
Patch posted at
https://gcc.gnu.org/pipermail/libstdc++/2020-November/051458.html
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97828
Patrick Palka changed:
What|Removed |Added
Ever confirmed|0 |1
Status|UNCONFIRMED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97828
--- Comment #5 from Jonathan Wakely ---
Also, don't paste copyrighted code into talk pages on cppreference.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97828
--- Comment #4 from Jonathan Wakely ---
(In reply to Alexey Mission from comment #3)
> Please see also cppreference.com where this bug is also spotted:
> https://en.cppreference.com/w/Talk:cpp/algorithm/ranges/search_n
Reporting bugs in a talk
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97828
Alexey Mission changed:
What|Removed |Added
CC||space.mission at yandex dot ru
---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97828
--- Comment #2 from ensadc at mailnesia dot com ---
This seems to fix the bug (note: not thoroughly tested)
diff --git a/libstdc++-v3/include/bits/ranges_algo.h
b/libstdc++-v3/include/bits/ranges_algo.h
index f1a4cc24c0d..414ce0b1baa 100644
---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97828
--- Comment #1 from ensadc at mailnesia dot com ---
Compilation failure with `std::list`: https://godbolt.org/z/vbqhax
Wrong result with `std::vector`: https://godbolt.org/z/axYbYr (expected output:
"42 42 42"; actual: "42 0 42")
It appears
10 matches
Mail list logo