http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45658

--- Comment #6 from Jan Hubicka <hubicka at ucw dot cz> 2010-09-28 12:16:53 UTC 
---
I think I will just commit it as the patch fixes known problems anyway and let
you know then.  If it won't help in this case, it is not difficult to make
patch to dump folding that happens with initializers that mis the TREE_STATIC
bit and we can figure out if the problem is caused by Ada frontend putting
something weird into the constructor.

There was related problem with C++ vtable constructors having references to
static
variables from other compilation unit, so it is quite posible that it is
FE<->BE
interface issue, too.

I wonder if it is possible to get this into self contained testcase - I will
try to 
reproduce problem at compile farm, I think it has sparc machine there.

Honza

Reply via email to