http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51714 --- Comment #2 from Paolo Carlini <paolo.carlini at oracle dot com> 2011-12-31 02:06:08 UTC --- When tsubst_decl calls register_local_specialization the local_specializations global is null.