aboutsummaryrefslogtreecommitdiff
path: root/gcc/gimple.c
diff options
context:
space:
mode:
authorKai Tietz <ktietz@redhat.com>2011-03-25 11:28:12 +0100
committerKai Tietz <ktietz@gcc.gnu.org>2011-03-25 11:28:12 +0100
commitac9a30aeb23c1848a8dccda3dc0f4db6c4dcc6a4 (patch)
treebe8ddf3016bda6d36649fda53d90b6b9c806b5c5 /gcc/gimple.c
parentafdac1169969fcdbe4a376244aa2f115485d917c (diff)
downloadgcc-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/gimple.c')
-rw-r--r--gcc/gimple.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/gimple.c b/gcc/gimple.c
index 5af3cd4..7f29bd0 100644
--- a/gcc/gimple.c
+++ b/gcc/gimple.c
@@ -3615,7 +3615,7 @@ gimple_types_compatible_p_1 (tree t1, tree t2, enum gtc_mode mode,
state, sccstack, sccstate, sccstate_obstack))
goto different_types;
- if (!targetm.comp_type_attributes (t1, t2))
+ if (!comp_type_attributes (t1, t2))
goto different_types;
if (TYPE_ARG_TYPES (t1) == TYPE_ARG_TYPES (t2))