Searched refs:oldglobal (Results 1 – 5 of 5) sorted by relevance
1913 tree oldglobal = IDENTIFIER_GLOBAL_VALUE (name); local1920 && oldglobal != 01922 && TREE_CODE (oldglobal) == FUNCTION_DECL1934 if (DECL_DECLARED_INLINE_P (oldglobal))1937 = DECL_DECLARED_INLINE_P (oldglobal);1938 DECL_INLINE (x) = DECL_INLINE (oldglobal);1939 DECL_INITIAL (x) = (current_function_decl == oldglobal1940 ? 0 : DECL_INITIAL (oldglobal));1941 DECL_SAVED_INSNS (x) = DECL_SAVED_INSNS (oldglobal);1942 DECL_NUM_STMTS (x) = DECL_NUM_STMTS (oldglobal);[all …]
4267 conflict with nested extern declarations. Move oldglobal test
879 tree oldglobal = IDENTIFIER_NAMESPACE_VALUE (name); in pushdecl_maybe_friend() local917 && oldglobal != NULL_TREE in pushdecl_maybe_friend()919 && TREE_CODE (oldglobal) == FUNCTION_DECL) in pushdecl_maybe_friend()922 if (decls_match (x, oldglobal)) in pushdecl_maybe_friend()927 warning (0, "global declaration %q+#D", oldglobal); in pushdecl_maybe_friend()934 && oldglobal == NULL_TREE in pushdecl_maybe_friend()1005 else if (oldglobal != NULL_TREE in pushdecl_maybe_friend()1006 && TREE_CODE (oldglobal) == VAR_DECL) in pushdecl_maybe_friend()1011 warning (OPT_Wshadow, "%Jshadowed declaration is here", oldglobal); in pushdecl_maybe_friend()
4410 tree oldglobal = IDENTIFIER_NAMESPACE_VALUE (name); local4450 && oldglobal != NULL_TREE4452 && TREE_CODE (oldglobal) == FUNCTION_DECL)4455 if (decls_match (x, oldglobal))4460 cp_warning_at ("global declaration `%#D'", oldglobal);4467 && oldglobal == NULL_TREE4518 else if (oldglobal != NULL_TREE4519 && TREE_CODE (oldglobal) == VAR_DECL)4521 shadow_warning ("a global declaration", name, oldglobal);
9751 `oldglobal'.