[Bug c++/86369] constexpr const char* comparison fails

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Aug 5 15:30:10 GMT 2021


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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jakub at gcc dot gnu.org,
                   |                            |rguenth at gcc dot gnu.org

--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
So, either those match.pd rules should be marked #ifdef GIMPLE only, or perhaps
we should have some flag whether C++ constexpr evaluation is in progress and
allow some foldings if GENERIC only if C++ constexpr evaluation is not in
progress?


More information about the Gcc-bugs mailing list