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: [LTO merge] gimplification of types and symbols [2/2]


On 09/02/2009 10:10 AM, Diego Novillo wrote:
+  else if (TREE_CODE (t) == TYPE_DECL)
+    {
+      tree template_info;
+
+      /* Remove context information held in templated decls.  */
+      if (mangle_decl_is_template_id (t,&template_info))
+        DECL_CONTEXT (TREE_PURPOSE (template_info)) = NULL_TREE;
+    }

I don't understand this. Isn't the template info going to disappear anyway?


Jason


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