On Fri, Jan 8, 2016 at 8:22 AM, Eric Botcazou <ebotca...@adacore.com> wrote: >> But it occurs to me that since the real problem I was trying to catch is >> creation of temporaries of TREE_ADDRESSABLE type in the back end, we >> should guard that instead. So this patch moves the assert into assign_temp. > > FWIW create_tmp_var has a slightly stronger version: > > gcc_assert (!TREE_ADDRESSABLE (type) && COMPLETE_TYPE_P (type));
Ok with the assert changed to match that of create_tmp_var. Thanks, Richard. > -- > Eric Botcazou