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

--- Comment #3 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Jonathan Wakely <r...@gcc.gnu.org>:

https://gcc.gnu.org/g:4e5dc6d9686a34d446147b923fe838389758a512

commit r14-8890-g4e5dc6d9686a34d446147b923fe838389758a512
Author: Jonathan Wakely <jwak...@redhat.com>
Date:   Sun Feb 4 21:39:11 2024 +0000

    libstdc++: Add comment to gslice::operator=(const gslice&) [PR100147]

    There's no need to check for self-assignment here, it would just add
    extra code for an unlikely case. Add a comment saying so.

    libstdc++-v3/ChangeLog:

            PR libstdc++/100147
            * include/bits/gslice.h (operator=): Add comment about lack of
            self-assignment check.
  • [Bug libstdc++/100147] libstdc+... cvs-commit at gcc dot gnu.org via Gcc-bugs

Reply via email to