http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46510
--- Comment #19 from Jan Hubicka <hubicka at ucw dot cz> 2010-11-21 16:16:51 UTC --- > ../../../work/libgomp/barrier.c:41:1: internal compiler error: in > decide_is_variable_needed, at varpool.c:341 Hmm, interesting, get_emutls_init_templ_addr should no longer call finalize_decl on externals. Can you, please, post the backtrace? Perhaps there is some other place that is wrong about this. Honza