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

--- Comment #23 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-14 branch has been updated by Jason Merrill
<ja...@gcc.gnu.org>:

https://gcc.gnu.org/g:19bf2732ae4ad0c37c2493e82cc500724de746a8

commit r14-11348-g19bf2732ae4ad0c37c2493e82cc500724de746a8
Author: Iain Sandoe <iains....@gmail.com>
Date:   Thu Jan 30 08:19:21 2025 +0000

    c++: Update const_decl handling after r15-7259 [PR118673].

    Objective-C++ uses CONST_DECLs to hold constant string objects
    these should also be treated as mergable lvalues.

            PR c++/118673

    gcc/cp/ChangeLog:

            * tree.cc (lvalue_kind): Mark CONST_DECLs as mergable
            when they are also TREE_STATIC.

    Signed-off-by: Iain Sandoe <i...@sandoe.co.uk>

Reply via email to