https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81482
Andrew Pinski changed:
What|Removed |Added
Resolution|--- |WONTFIX
Status|UNCONFIRMED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81482
--- Comment #4 from kloetzl ---
> And changing the algorithm to make no copies would not make it opaque, because
> the lack of copies would be observable. As the standard says, whether copies
> are made or not is unspecified. So if you want to tr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81482
--- Comment #3 from Jonathan Wakely ---
(In reply to kloetzl from comment #2)
> I don't think that the runtime cost of the copies is measurable. My bigger
> issue is that this quirks exposes the internal behaviour of the algorithm
> implementatio
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81482
--- Comment #2 from kloetzl ---
I don't think that the runtime cost of the copies is measurable. My bigger
issue is that this quirks exposes the internal behaviour of the algorithm
implementation; In this case the fact that remove_if calls find_i
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81482
Jonathan Wakely changed:
What|Removed |Added
Severity|normal |minor
--- Comment #1 from Jonathan Wak