https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113239
Dimitry Andric <dimitry at andric dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |dimitry at andric dot com
--- Comment #12 from Dimitry Andric <dimitry at andric dot com> ---
(In reply to Andrew Pinski from comment #10)
> The warning seems to be fixed on the trunk but the missed optimization is
> still around.
FWIW, bisection shows the warning went away with r15-4578-g774ad67fba4
("Implement operator_pointer_diff::fold_range") for bug 117222 ("[15
regression] Missed optimization with with std::vector resize in loop since
r15-575-gda73261ce7731b") by Andrew Macleod.