[Bug objc/43061] 47 new GCC HEAD@156527 regressions
developer at sandoe-acoustics dot co dot uk
gcc-bugzilla@gcc.gnu.org
Mon Feb 15 21:52:00 GMT 2010
------- Comment #27 from developer at sandoe-acoustics dot co dot uk 2010-02-15 21:51 -------
(In reply to comment #26)
> Addressability is recomputed several times. What you probably want is mark the
> decl with the used attribute (i.e. add "used" attribute to it, set TREE_USED
> (decl) = 1 and DECL_PRESERVE_P (decl) = 1).
finish_var_decl() contains:
mark_decl_referenced(var); - although this doesn't do anything for csts.
and
TREE_USED (var) = 1;
adding DECL_PRESERVE_P (decl) = 1 doesn't solve the problem either..
I'll have to dig deeper into what's actually happening/required.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43061
More information about the Gcc-bugs
mailing list