This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Move DECL_RESULT into function_decl


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]