http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59122
--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Created attachment 31213 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=31213&action=edit untested fix This seems to work for me in the cross, but it is a hack in any case (before and now with the patch). What I need is some way how to represent labels emitted somewhere in the current CU, wonder what a proper way (rather than pretending it is a VAR_DECL in current CU) would be. Can it be say a LABEL_DECL with hand set DECL_RTL, something else?