[Bug c++/89074] valid pointer equality constexpr comparison rejected

cvs-commit at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Jul 7 16:38:30 GMT 2022


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

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

https://gcc.gnu.org/g:ad6135e261ced29972e5aa33404e45bcdd99440f

commit r13-1561-gad6135e261ced29972e5aa33404e45bcdd99440f
Author: Jonathan Wakely <jwakely@redhat.com>
Date:   Thu Jul 7 13:40:20 2022 +0100

    libstdc++: Remove workaround in __gnu_cxx::char_traits::move [PR89074]

    The front-end bug that prevented this constexpr loop from working has
    been fixed since GCC 12.1 so we can remove the workaround.

    libstdc++-v3/ChangeLog:

            PR c++/89074
            * include/bits/char_traits.h (__gnu_cxx::char_traits::move):
            Remove workaround for front-end bug.


More information about the Gcc-bugs mailing list