summaryrefslogtreecommitdiff
path: root/gcc/compare-types.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/compare-types.c')
-rw-r--r--gcc/compare-types.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/gcc/compare-types.c b/gcc/compare-types.c
index 7a476432118..9a615c2dd2a 100644
--- a/gcc/compare-types.c
+++ b/gcc/compare-types.c
@@ -40,7 +40,7 @@ is_incomplete_type(const_tree a)
return NULL_TREE == type_size;
}
-bool
+unsigned
eq_main_variant(const_tree a, const_tree b)
{
gcc_assert(a && b);
@@ -51,7 +51,7 @@ eq_main_variant(const_tree a, const_tree b)
return are_equal;
}
-bool
+unsigned
eq_canonical_internal(const_tree a, const_tree b)
{
gcc_assert(a && b);
@@ -195,13 +195,13 @@ eq_method_types(const_tree a, const_tree b, const bool force_structural)
static bool eq_structural(const_tree a, const_tree b, const bool force_structural = false);
-bool
+unsigned
eq_pointer(const_tree a, const_tree b)
{
return a == b;
}
-bool
+unsigned
eq_identifier(const_tree a, const_tree b)
{
// TODO: Note, we have had the following miscomparison:
@@ -283,7 +283,7 @@ eq_structural(const_tree a, const_tree b, const bool force_structural)
return false;
}
-bool
+unsigned
eq_canonical(const_tree a, const_tree b)
{
gcc_assert(a && b);
@@ -295,19 +295,19 @@ eq_canonical(const_tree a, const_tree b)
}
-bool
+unsigned
eq_type_compare(const_tree a, const_tree b)
{
return eq_types(a, b);
}
-bool
+unsigned
eq_type_structural(const_tree a, const_tree b)
{
return eq_types(a, b, true);
}
-bool
+unsigned
eq_types(const_tree a, const_tree b, const bool force_structural)
{
gcc_assert(a && b);