Skip to content
Snippets Groups Projects
Commit c5667a1e authored by Iain Sandoe's avatar Iain Sandoe
Browse files

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: default avatarIain Sandoe <iain@sandoe.co.uk>
parent 9ba2de71
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment