ChangeLog gcc/
authorKai Tietz <ktietz@redhat.com>
Fri, 25 Mar 2011 10:28:12 +0000 (11:28 +0100)
committerKai Tietz <ktietz@gcc.gnu.org>
Fri, 25 Mar 2011 10:28:12 +0000 (11:28 +0100)
commitac9a30aeb23c1848a8dccda3dc0f4db6c4dcc6a4
treebe8ddf3016bda6d36649fda53d90b6b9c806b5c5
parentafdac1169969fcdbe4a376244aa2f115485d917c
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
gcc/ChangeLog
gcc/c-typeck.c
gcc/cp/ChangeLog
gcc/cp/decl.c
gcc/cp/search.c
gcc/cp/typeck.c
gcc/gimple.c
gcc/tree-ssa.c
gcc/tree.c
gcc/tree.h