public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libstdc++/90857] stl::forward_list::erase_after crashes if __pos == __last
[not found] <bug-90857-4@http.gcc.gnu.org/bugzilla/>
@ 2021-02-22 20:42 ` redi at gcc dot gnu.org
2021-02-23 11:03 ` redi at gcc dot gnu.org
` (7 subsequent siblings)
8 siblings, 0 replies; 9+ messages in thread
From: redi at gcc dot gnu.org @ 2021-02-22 20:42 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90857
--- Comment #4 from Jonathan Wakely <redi at gcc dot gnu.org> ---
It was pointed out on IRC that splice_after is affected the same way (if we
change anything for erase_after we should do the same for splice_after).
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug libstdc++/90857] stl::forward_list::erase_after crashes if __pos == __last
[not found] <bug-90857-4@http.gcc.gnu.org/bugzilla/>
2021-02-22 20:42 ` [Bug libstdc++/90857] stl::forward_list::erase_after crashes if __pos == __last redi at gcc dot gnu.org
@ 2021-02-23 11:03 ` redi at gcc dot gnu.org
2022-05-06 8:30 ` jakub at gcc dot gnu.org
` (6 subsequent siblings)
8 siblings, 0 replies; 9+ messages in thread
From: redi at gcc dot gnu.org @ 2021-02-23 11:03 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90857
Jonathan Wakely <redi at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |12.0
--- Comment #5 from Jonathan Wakely <redi at gcc dot gnu.org> ---
One of the MSVC devs agreed with my interpretation and suggested that their
impl (which has a check for the position==last case) is paranoid.
I think the check in comment 3 is probably worth adding (for GCC 12), as long
as we keep the debug assertion to diagnose it when checking is enabled. We
could even consider __glibcxx_assert(__pos != __last) so that it's diagnosed
more aggressively.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug libstdc++/90857] stl::forward_list::erase_after crashes if __pos == __last
[not found] <bug-90857-4@http.gcc.gnu.org/bugzilla/>
2021-02-22 20:42 ` [Bug libstdc++/90857] stl::forward_list::erase_after crashes if __pos == __last redi at gcc dot gnu.org
2021-02-23 11:03 ` redi at gcc dot gnu.org
@ 2022-05-06 8:30 ` jakub at gcc dot gnu.org
2022-05-06 12:31 ` redi at gcc dot gnu.org
` (5 subsequent siblings)
8 siblings, 0 replies; 9+ messages in thread
From: jakub at gcc dot gnu.org @ 2022-05-06 8:30 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90857
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|12.0 |12.2
--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 12.1 is being released, retargeting bugs to GCC 12.2.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug libstdc++/90857] stl::forward_list::erase_after crashes if __pos == __last
[not found] <bug-90857-4@http.gcc.gnu.org/bugzilla/>
` (2 preceding siblings ...)
2022-05-06 8:30 ` jakub at gcc dot gnu.org
@ 2022-05-06 12:31 ` redi at gcc dot gnu.org
2022-05-06 12:32 ` redi at gcc dot gnu.org
` (4 subsequent siblings)
8 siblings, 0 replies; 9+ messages in thread
From: redi at gcc dot gnu.org @ 2022-05-06 12:31 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90857
Jonathan Wakely <redi at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|12.2 |13.0
--- Comment #7 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Retargetting to 13
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug libstdc++/90857] stl::forward_list::erase_after crashes if __pos == __last
[not found] <bug-90857-4@http.gcc.gnu.org/bugzilla/>
` (3 preceding siblings ...)
2022-05-06 12:31 ` redi at gcc dot gnu.org
@ 2022-05-06 12:32 ` redi at gcc dot gnu.org
2023-04-26 6:55 ` rguenth at gcc dot gnu.org
` (3 subsequent siblings)
8 siblings, 0 replies; 9+ messages in thread
From: redi at gcc dot gnu.org @ 2022-05-06 12:32 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90857
Jonathan Wakely <redi at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Severity|normal |enhancement
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug libstdc++/90857] stl::forward_list::erase_after crashes if __pos == __last
[not found] <bug-90857-4@http.gcc.gnu.org/bugzilla/>
` (4 preceding siblings ...)
2022-05-06 12:32 ` redi at gcc dot gnu.org
@ 2023-04-26 6:55 ` rguenth at gcc dot gnu.org
2023-04-26 8:43 ` redi at gcc dot gnu.org
` (2 subsequent siblings)
8 siblings, 0 replies; 9+ messages in thread
From: rguenth at gcc dot gnu.org @ 2023-04-26 6:55 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90857
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|13.0 |13.2
--- Comment #8 from Richard Biener <rguenth at gcc dot gnu.org> ---
GCC 13.1 is being released, retargeting bugs to GCC 13.2.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug libstdc++/90857] stl::forward_list::erase_after crashes if __pos == __last
[not found] <bug-90857-4@http.gcc.gnu.org/bugzilla/>
` (5 preceding siblings ...)
2023-04-26 6:55 ` rguenth at gcc dot gnu.org
@ 2023-04-26 8:43 ` redi at gcc dot gnu.org
2024-05-07 7:39 ` rguenth at gcc dot gnu.org
2024-05-07 10:27 ` redi at gcc dot gnu.org
8 siblings, 0 replies; 9+ messages in thread
From: redi at gcc dot gnu.org @ 2023-04-26 8:43 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90857
Jonathan Wakely <redi at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|13.2 |14.0
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug libstdc++/90857] stl::forward_list::erase_after crashes if __pos == __last
[not found] <bug-90857-4@http.gcc.gnu.org/bugzilla/>
` (6 preceding siblings ...)
2023-04-26 8:43 ` redi at gcc dot gnu.org
@ 2024-05-07 7:39 ` rguenth at gcc dot gnu.org
2024-05-07 10:27 ` redi at gcc dot gnu.org
8 siblings, 0 replies; 9+ messages in thread
From: rguenth at gcc dot gnu.org @ 2024-05-07 7:39 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90857
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|14.0 |14.2
--- Comment #9 from Richard Biener <rguenth at gcc dot gnu.org> ---
GCC 14.1 is being released, retargeting bugs to GCC 14.2.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug libstdc++/90857] stl::forward_list::erase_after crashes if __pos == __last
[not found] <bug-90857-4@http.gcc.gnu.org/bugzilla/>
` (7 preceding siblings ...)
2024-05-07 7:39 ` rguenth at gcc dot gnu.org
@ 2024-05-07 10:27 ` redi at gcc dot gnu.org
8 siblings, 0 replies; 9+ messages in thread
From: redi at gcc dot gnu.org @ 2024-05-07 10:27 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90857
Jonathan Wakely <redi at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|14.2 |---
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2024-05-07 10:27 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <bug-90857-4@http.gcc.gnu.org/bugzilla/>
2021-02-22 20:42 ` [Bug libstdc++/90857] stl::forward_list::erase_after crashes if __pos == __last redi at gcc dot gnu.org
2021-02-23 11:03 ` redi at gcc dot gnu.org
2022-05-06 8:30 ` jakub at gcc dot gnu.org
2022-05-06 12:31 ` redi at gcc dot gnu.org
2022-05-06 12:32 ` redi at gcc dot gnu.org
2023-04-26 6:55 ` rguenth at gcc dot gnu.org
2023-04-26 8:43 ` redi at gcc dot gnu.org
2024-05-07 7:39 ` rguenth at gcc dot gnu.org
2024-05-07 10:27 ` redi at gcc dot gnu.org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).