On Fri, Mar 23, 2018 at 12:44 PM, Jason Merrill <jason@redhat.com> wrote: > Seems like cp_fold should update CALL_EXPR_FN with "callee" if non-null. Did you try this? That should avoid it being ADDR_EXPR of a decl. Jason