Re: [C++ PATCH] Fix up TREE_READONLY handling in duplicate_decls (PR c++/71528)
On Tue, Jun 14, 2016 at 3:21 PM, Jakub Jelinek wrote: > Bootstrapped/regtested on x86_64-linux and i686-linux, ok for trunk (and > after some time for 6.x)? Yes. Jason
[C++ PATCH] Fix up TREE_READONLY handling in duplicate_decls (PR c++/71528)
Hi! The following testcase is miscompiled, because during cp_finish_decl when handling the initializer of the reference we clear TREE_READONLY, because it needs to be initialized at runtime, but the (useless) later extern decl has TREE_READONLY set and when we are merging the two decls, we set TRE