This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [C++ PATCH] Fix decomp handling of fields with reference type (PR c++/78931)


On Thu, Dec 29, 2016 at 10:11 AM, Jakub Jelinek <jakub@redhat.com> wrote:
>               probe = TREE_OPERAND (probe, 0);
>             TREE_TYPE (v[i]) = TREE_TYPE (probe);
>             layout_decl (v[i], 0);
> -           SET_DECL_VALUE_EXPR (v[i], tt);
> +           SET_DECL_VALUE_EXPR (v[i], probe);

I guess we can do away with the probe variable and change tt instead.

Jason


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]