Re: Ipa and CONSTRUCTOR in global vars

2006-04-07 Thread Waldek Hebisch
> > 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

Re: Ipa and CONSTRUCTOR in global vars

2006-04-06 Thread Eric Botcazou
> 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

Ipa and CONSTRUCTOR in global vars

2006-04-06 Thread Waldek Hebisch
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