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_ARGUMENTS into tree_function_decl


On 06/25/2014 02:51 AM, Jan Hubicka wrote:
@@ -4388,7 +4388,8 @@ build_clone (tree fn, tree name)
    clone = copy_decl (fn);
    /* Reset the function name.  */
    DECL_NAME (clone) = name;
-  SET_DECL_ASSEMBLER_NAME (clone, NULL_TREE);
+  if (TREE_CODE (clone) != TEMPLATE_DECL)
+    SET_DECL_ASSEMBLER_NAME (clone, NULL_TREE);

Instead of this, move the SET_DECL_ASSEMBLER_NAME down below the template block.

OK with that change.

Jason


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