diff options
author | Kai Tietz <ktietz@redhat.com> | 2011-03-25 11:28:12 +0100 |
---|---|---|
committer | Kai Tietz <ktietz@gcc.gnu.org> | 2011-03-25 11:28:12 +0100 |
commit | ac9a30aeb23c1848a8dccda3dc0f4db6c4dcc6a4 (patch) | |
tree | be8ddf3016bda6d36649fda53d90b6b9c806b5c5 /gcc/tree-ssa.c | |
parent | afdac1169969fcdbe4a376244aa2f115485d917c (diff) | |
download | gcc-ac9a30aeb23c1848a8dccda3dc0f4db6c4dcc6a4.zip gcc-ac9a30aeb23c1848a8dccda3dc0f4db6c4dcc6a4.tar.gz gcc-ac9a30aeb23c1848a8dccda3dc0f4db6c4dcc6a4.tar.bz2 |
ChangeLog gcc/
2011-03-25 Kai Tietz <ktietz@redhat.com>
* c-typeck.c (comptypes_internal): Replace target
hook call of comp_type_attributes by version in tree.c file.
* gimple.c (gimple_types_compatible_p_1): Likewise.
* tree-ssa.c (useless_type_conversion_p): Likewise.
* tree.c (build_type_attribute_qual_variant): Likewise.
(attribute_value_equal): New static helper function.
(comp_type_attributes): New function.
(merge_attributes): Use attribute_value_equal for comparison.
(attribute_list_contained): Likewise.
* tree.h (comp_type_attributes): New prototype.
ChangeLog cp/
2011-03-25 Kai Tietz <ktietz@redhat.com>
* decl.c (decls_match): Replace target hook
call of comp_type_attributes by version in tree.c file.
* search.c (check_final_overrider): Likewise.
* typeck.c (structural_comptypes): Likewise.
From-SVN: r171445
Diffstat (limited to 'gcc/tree-ssa.c')
-rw-r--r-- | gcc/tree-ssa.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/tree-ssa.c b/gcc/tree-ssa.c index d542e0a..05eb2a2 100644 --- a/gcc/tree-ssa.c +++ b/gcc/tree-ssa.c @@ -1438,7 +1438,7 @@ useless_type_conversion_p (tree outer_type, tree inner_type) /* Defer to the target if necessary. */ if (TYPE_ATTRIBUTES (inner_type) || TYPE_ATTRIBUTES (outer_type)) - return targetm.comp_type_attributes (outer_type, inner_type) != 0; + return comp_type_attributes (outer_type, inner_type) != 0; return true; } |