> > Now, the question is: should `get_base_var' be extended to handle
> > CONSTRUCTOR nodes or is ADDR_EXPR of a CONSTRUCTOR forbidden from
> > getting there?
>
> The latter. See PR c++/23171 and PR ada/22533.
>
Thanks. I have put addresable constructors in temporaries and the
problem went away
> Now, the question is: should `get_base_var' be extended to handle
> CONSTRUCTOR nodes or is ADDR_EXPR of a CONSTRUCTOR forbidden from
> getting there?
The latter. See PR c++/23171 and PR ada/22533.
--
Eric Botcazou