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

2025-01-30 Thread Jason Merrill
On 1/30/25 3:19 AM, Iain Sandoe wrote: Fixes a regression in handling Objective-C++ strings. Tested on x86_64-darwin21, OK for trunk? OK. thanks Iain --- 8< --- Objective-C++ uses CONST_DECLs to hold constant string objects these should also be treated as mergable lvalues. PR c++/1

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

2025-01-30 Thread Iain Sandoe
Fixes a regression in handling Objective-C++ strings. Tested on x86_64-darwin21, OK for trunk? thanks Iain --- 8< --- 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 (lva