Move DECL_RESULT into function_decl

Jason Merrill jason@redhat.com
Tue Jul 15 15:23:00 GMT 2014


On 07/15/2014 10:19 AM, Jan Hubicka wrote:
> @@ -1722,7 +1722,7 @@ dump_ada_template (pretty_printer *buffe
>     /* DECL_VINDEX is DECL_TEMPLATE_INSTANTIATIONS in this context.  */
>     tree inst = DECL_VINDEX (t);
>     /* DECL_RESULT_FLD is DECL_TEMPLATE_RESULT in this context.  */
> -  tree result = DECL_RESULT_FLD (t);
> +  tree result = DECL_RESULT (t);

This looks like it was broken by your last patch, judging from the 
comments: DECL_VINDEX no longer corresponds to 
DECL_TEMPLATE_INSTANTIATIONS, and DECL_RESULT no longer corresponds to 
DECL_TEMPLATE_RESULT.

Jason



More information about the Gcc-patches mailing list