[PATCH] [PR c++/84943] allow folding of array indexing indirect_ref

Jason Merrill jason@redhat.com
Fri Mar 23 20:59:00 GMT 2018


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



More information about the Gcc-patches mailing list