Home
last modified time | relevance | path

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

/openbmc/linux/scripts/gcc-plugins/
H A Drandomize_layout_plugin.c743 const_tree ptr_rhs_type; in find_bad_casts_execute() local
782 ptr_rhs_type = TYPE_MAIN_VARIANT(strip_array_types(TYPE_MAIN_VARIANT(TREE_TYPE(rhs_type)))); in find_bad_casts_execute()
784 if (ptr_rhs_type == void_type_node) in find_bad_casts_execute()
793 if (TREE_CODE(ptr_rhs_type) != RECORD_TYPE) { in find_bad_casts_execute()
797 MISMATCH(gimple_location(stmt), "rhs", ptr_lhs_type, ptr_rhs_type); in find_bad_casts_execute()
801 if (rhs_code == SSA_NAME && ptr_lhs_type == ptr_rhs_type) in find_bad_casts_execute()
828 if (lookup_attribute("randomize_performed", TYPE_ATTRIBUTES(ptr_rhs_type))) in find_bad_casts_execute()
830 MISMATCH(gimple_location(stmt), "ssa", ptr_lhs_type, ptr_rhs_type); in find_bad_casts_execute()