http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48094
--- Comment #15 from Iain Sandoe <iains at gcc dot gnu.org> 2012-02-12 14:43:49 UTC --- this var is a two element array consisting of two integer constants. the var is marked 'preserve' (because it is read by the OBJC runtime, but not referenced from the code). we get one instance of the var per input object file to LTO. we would like one instance in the output (assuming that the values are really identical). so, if we: mark the section as SECTION_MERGE mark the decl as TREE_READONLY would we reasonably expect lto to merge them? if that is not enough, what additional constraints could be specified?