Searched refs:old_decl (Results 1 – 10 of 10) sorted by relevance
2771 gcc_assert (TREE_CODE (old_decl) == FUNCTION_DECL in tree_function_versioning()2773 DECL_POSSIBLY_INLINED (old_decl) = 1; in tree_function_versioning()2775 old_version_node = cgraph_node (old_decl); in tree_function_versioning()2789 if (DECL_RTL (old_decl) != NULL) in tree_function_versioning()2801 id.src_fn = old_decl; in tree_function_versioning()2805 id.src_cfun = DECL_STRUCT_FUNCTION (old_decl); in tree_function_versioning()2817 p = DECL_STRUCT_FUNCTION (old_decl)->static_chain_decl; in tree_function_versioning()2823 if (DECL_ARGUMENTS (old_decl) != NULL_TREE) in tree_function_versioning()2859 (DECL_STRUCT_FUNCTION (old_decl)); in tree_function_versioning()2874 if (DECL_RESULT (old_decl) != NULL_TREE) in tree_function_versioning()[all …]
2003 tree old_decl = b->decl; in warn_if_shadowing() local2018 && DECL_BUILT_IN (old_decl)) in warn_if_shadowing()6593 tree decl1, old_decl; in start_function() local6672 if (old_decl && TREE_CODE (old_decl) != FUNCTION_DECL) in start_function()6673 old_decl = 0; in start_function()6679 if (old_decl != 0 && TREE_CODE (TREE_TYPE (old_decl)) == FUNCTION_TYPE in start_function()6740 && old_decl != 0 in start_function()6742 && TREE_USED (old_decl) in start_function()6749 && old_decl == 0 in start_function()6756 && old_decl != 0 in start_function()[all …]
559 tree old_decl = current_function_decl; in analyze_function() local576 current_function_decl = old_decl; in analyze_function()
1856 tree old_decl = old_version_node->decl; in cgraph_function_versioning() local1860 if (!tree_versionable_function_p (old_decl)) in cgraph_function_versioning()1865 new_decl = copy_node (old_decl); in cgraph_function_versioning()1874 tree_function_versioning (old_decl, new_decl, tree_map, false); in cgraph_function_versioning()
26965 * c-decl.c (start_function): Check for old_decl being33282 * c-decl.c (warn_if_shadowing): Handle old_decl error_mark_node.
21574 Rename local variable old to old_decl.
1082 tree old_decl) in check_redeclaration_exception_specification() argument1091 old_type = TREE_TYPE (old_decl); in check_redeclaration_exception_specification()1101 && ! DECL_IS_BUILTIN (old_decl) in check_redeclaration_exception_specification()6741 tree old_decl; in grokfndecl() local6743 old_decl = check_classfn (ctype, decl, in grokfndecl()6748 if (old_decl) in grokfndecl()6753 if (TREE_CODE (old_decl) == TEMPLATE_DECL) in grokfndecl()6758 old_decl = DECL_TEMPLATE_RESULT (old_decl); in grokfndecl()6760 if (DECL_STATIC_FUNCTION_P (old_decl) in grokfndecl()6765 if (DECL_ARTIFICIAL (old_decl)) in grokfndecl()[all …]
5383 tree old_decl; in tsubst_friend_function() local5420 if (old_decl == error_mark_node) in tsubst_friend_function()5423 if (old_decl != new_friend) in tsubst_friend_function()5472 if (TREE_CODE (old_decl) != TEMPLATE_DECL) in tsubst_friend_function()5474 most_general_template (old_decl), in tsubst_friend_function()5475 old_decl); in tsubst_friend_function()5485 for (t = DECL_TEMPLATE_SPECIALIZATIONS (old_decl); in tsubst_friend_function()5499 t = most_general_template (old_decl); in tsubst_friend_function()5500 if (t != old_decl) in tsubst_friend_function()5504 DECL_TEMPLATE_SPECIALIZATIONS (old_decl)); in tsubst_friend_function()[all …]
2717 tree old_decl = NULL_TREE; in push_class_level_binding() local2728 old_decl = binding->type; in push_class_level_binding()2735 old_decl = bval; in push_class_level_binding()2743 old_decl = bval; in push_class_level_binding()2747 old_decl = bval; in push_class_level_binding()2751 if (old_decl && binding->scope == class_binding_level) in push_class_level_binding()
1813 * decl.c (push_class_level_binding): Correct old_decl value from