[PATCH] Fix PR c++/60573
Adam Butcher
adam@jessamine.co.uk
Thu Mar 27 21:32:00 GMT 2014
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.
More information about the Gcc-patches
mailing list