http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55159
Paolo Carlini <paolo.carlini at oracle dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2012-11-07 Ever Confirmed|0 |1 --- Comment #9 from Paolo Carlini <paolo.carlini at oracle dot com> 2012-11-07 15:42:04 UTC --- Uhm, for testcase in Comment #7 we call finish_static_data_member_decl from instantiate_class_template_1 and we explicitly pass init == NULL_TREE, no chances for things to work from this point on. Interestingly this is the *only* place in pt.c where we call finish_static_data_member_decl.