On 2014-03-27 20:45, Adam Butcher wrote:
@@ -8905,9 +8905,12 @@ instantiate_class_template_1 (tree type) return type;/* Now we're really doing the instantiation. Mark the type as in - the process of being defined. */ + the process of being defined... */ TYPE_BEING_DEFINED (type) = 1; + /* ... and the scope defining it. */ + class_binding_level->scope_defines_class_p = 1;
I meant current_binding_level here; but I'm not sure it's necessary here at all.