On 06/05/2017 06:28 AM, Jakub Jelinek wrote:

So unless cxx_dup_lang_specific_decl or copy_decl or tsubst_decl
clears the DECL_DECOMP_BASE for the short time before cp_finish_decomp
is called, DECL_DECOMP_BASE will be "wrong" for a short time, but it
shouldn't matter, nothing should be querying it in between.  Setting
it to NULL wouldn't be correct either anyway.

Ok, thanks for checking. That also explains why we can meet VAR_DECLs that already have a decomp_lang_decl extension.

nathan

--
Nathan Sidwell

Reply via email to