[Bug objc/43061] 47 new GCC HEAD@156527 regressions
rguenth at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Sun Feb 14 21:29:00 GMT 2010
------- Comment #14 from rguenth at gcc dot gnu dot org 2010-02-14 21:29 -------
That doesn't make sense. The symbol is not TREE_READONLY.
Was that dump from inside get_symbol_constant_value?
As the extract only happens from CCP2 I suppose that ipa-reference might
be setting TREE_READONLY on the decl becaue it's static and not written to?
So, can you try with -fno-ipa-reference? (-fdump-ipa-reference should
show "read-only var OBJC_CLASS_REFERENCES_0" if that is the problem)
Can it be that the next runtime causes functions to be emitted in the
back of cgraph? Or maybe the objc frontend fails to set TREE_ADDRESSABLE
on those vars? Or it forgets to pass them to the varpool?
Can you attach the full ipa-reference dump and the full 004.gimple dump?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43061
More information about the Gcc-bugs
mailing list