http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50598
--- Comment #15 from Iain Sandoe <iains at gcc dot gnu.org> 2011-11-13 12:51:00 UTC --- (In reply to comment #14) > Hi, > I finally debugged this. Great! :-) > It is an ordering issue - emutls adds new variables but > remove_unreachable_functions expects that visibility pass has been run and > externally_visible flag computed. I will add add_new_variable for backend use > just like cgraph API have. Just in case I misunderstand your reference to "backend". I think these vars will only be added by tree-emutls pass.