[Bug libstdc++/108846] std::copy, std::copy_n and std::copy_backward on potentially overlapping subobjects

deepeshvrajan7614 at gmail dot com gcc-bugzilla@gcc.gnu.org
Wed Jul 24 10:05:22 GMT 2024


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108846

Deepesh V <deepeshvrajan7614 at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |deepeshvrajan7614 at gmail dot com

--- Comment #28 from Deepesh V <deepeshvrajan7614 at gmail dot com> ---
I encountered a warning while using gcc-12.4 and filed the same at:-
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115824

The warning was not seen after reverting the following patch:-
https://gcc.gnu.org/git/gitweb.cgi?p=gcc.git;h=8ec265c1464dec74f98e6914cd164af5090a39ff
.

Its been observed that the warning is not observed on the latest sources
(gcc-13 etc). Can you please let me know if any other dependent patch has to be
applied along with this fix to suppress the warning in gcc-12.4?

Thanks in Advance,
Deepesh


More information about the Gcc-bugs mailing list