[Bug tree-optimization/105651] [12/13 Regression] bogus "may overlap" memcpy warning with std::string and operator+ at -O3
rguenther at suse dot de
gcc-bugzilla@gcc.gnu.org
Tue Jul 26 10:46:22 GMT 2022
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105651
--- Comment #14 from rguenther at suse dot de <rguenther at suse dot de> ---
On Tue, 26 Jul 2022, jakub at gcc dot gnu.org wrote:
> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105651
>
> --- Comment #12 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
> My preference would be still to make the overlap case out-of-line as mentioned
> in PR105329, but I don't have statistics on whether the overlap case is really
> cold in real-world. If yes, it would make non-overlap case smaller and the
> overlap case tiny bit slower.
I would say so. It's of course still beneficial to optimize the
overlap test if possible. I'm now testing a series of changes required.
More information about the Gcc-bugs
mailing list