Home
last modified time | relevance | path

Searched refs:wrap_decl (Results 1 – 3 of 3) sorted by relevance

/netbsd-src/external/gpl3/gcc.old/dist/gcc/c-family/
H A Dc-attribs.c3427 tree wrap_decl = TREE_VALUE (args); in handle_tm_wrap_attribute() local
3428 if (error_operand_p (wrap_decl)) in handle_tm_wrap_attribute()
3430 else if (TREE_CODE (wrap_decl) != IDENTIFIER_NODE in handle_tm_wrap_attribute()
3431 && !VAR_OR_FUNCTION_DECL_P (wrap_decl)) in handle_tm_wrap_attribute()
3435 if (TREE_CODE (wrap_decl) == IDENTIFIER_NODE) in handle_tm_wrap_attribute()
3436 wrap_decl = lookup_name (wrap_decl); in handle_tm_wrap_attribute()
3437 if (wrap_decl && TREE_CODE (wrap_decl) == FUNCTION_DECL) in handle_tm_wrap_attribute()
3440 TREE_TYPE (wrap_decl))) in handle_tm_wrap_attribute()
3441 record_tm_replacement (wrap_decl, decl); in handle_tm_wrap_attribute()
3443 error ("%qD is not compatible with %qD", wrap_decl, decl); in handle_tm_wrap_attribute()
/netbsd-src/external/gpl3/gcc/dist/gcc/c-family/
H A Dc-attribs.cc4057 tree wrap_decl = TREE_VALUE (args); in handle_tm_wrap_attribute() local
4058 if (error_operand_p (wrap_decl)) in handle_tm_wrap_attribute()
4060 else if (TREE_CODE (wrap_decl) != IDENTIFIER_NODE in handle_tm_wrap_attribute()
4061 && !VAR_OR_FUNCTION_DECL_P (wrap_decl)) in handle_tm_wrap_attribute()
4065 if (TREE_CODE (wrap_decl) == IDENTIFIER_NODE) in handle_tm_wrap_attribute()
4066 wrap_decl = lookup_name (wrap_decl); in handle_tm_wrap_attribute()
4067 if (wrap_decl && TREE_CODE (wrap_decl) == FUNCTION_DECL) in handle_tm_wrap_attribute()
4070 TREE_TYPE (wrap_decl))) in handle_tm_wrap_attribute()
4071 record_tm_replacement (wrap_decl, decl); in handle_tm_wrap_attribute()
4073 error ("%qD is not compatible with %qD", wrap_decl, decl); in handle_tm_wrap_attribute()
H A DChangeLog9582 (handle_tm_wrap_attribute): Handle case when wrap_decl is error node.