Home
last modified time | relevance | path

Searched refs:oldglobal (Results 1 – 5 of 5) sorted by relevance

/openbsd/src/gnu/usr.bin/gcc/gcc/
Dc-decl.c1913 tree oldglobal = IDENTIFIER_GLOBAL_VALUE (name); local
1920 && oldglobal != 0
1922 && TREE_CODE (oldglobal) == FUNCTION_DECL
1934 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 == oldglobal
1940 ? 0 : DECL_INITIAL (oldglobal));
1941 DECL_SAVED_INSNS (x) = DECL_SAVED_INSNS (oldglobal);
1942 DECL_NUM_STMTS (x) = DECL_NUM_STMTS (oldglobal);
[all …]
DFSFChangeLog.104267 conflict with nested extern declarations. Move oldglobal test
/openbsd/src/gnu/gcc/gcc/cp/
Dname-lookup.c879 tree oldglobal = IDENTIFIER_NAMESPACE_VALUE (name); in pushdecl_maybe_friend() local
917 && 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()
/openbsd/src/gnu/usr.bin/gcc/gcc/cp/
Ddecl.c4410 tree oldglobal = IDENTIFIER_NAMESPACE_VALUE (name); local
4450 && oldglobal != NULL_TREE
4452 && TREE_CODE (oldglobal) == FUNCTION_DECL)
4455 if (decls_match (x, oldglobal))
4460 cp_warning_at ("global declaration `%#D'", oldglobal);
4467 && oldglobal == NULL_TREE
4518 else if (oldglobal != NULL_TREE
4519 && TREE_CODE (oldglobal) == VAR_DECL)
4521 shadow_warning ("a global declaration", name, oldglobal);
/openbsd/src/gnu/usr.bin/gcc/gcc/java/
DChangeLog9751 `oldglobal'.