> > 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
I am updating GNU Pascal to work with gcc-4.x. I have hit the following
problem: `get_base_var' (in ipa-utils.c:224) can not handle a CONSTRUCTOR
and I get ICE.
AFAICS the CONSTRUCTOR in question comes from initializer of global
variable. More precisely, I have a global variable with an initialize