aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree.h
diff options
context:
space:
mode:
authorJan Hubicka <hubicka@ucw.cz>2015-10-10 21:43:49 +0200
committerJan Hubicka <hubicka@gcc.gnu.org>2015-10-10 19:43:49 +0000
commit9c4eeafc11dbd996949b3a0c3f5196e7c45ef92f (patch)
treea70d4b968b6a34668f485e3a39033f4dc68cf53c /gcc/tree.h
parent05486daafd85d56f457ab6808a02de02d53d60b3 (diff)
downloadgcc-9c4eeafc11dbd996949b3a0c3f5196e7c45ef92f.zip
gcc-9c4eeafc11dbd996949b3a0c3f5196e7c45ef92f.tar.gz
gcc-9c4eeafc11dbd996949b3a0c3f5196e7c45ef92f.tar.bz2
tree.c (type_with_interoperable_signedness): New.
* tree.c (type_with_interoperable_signedness): New. (gimple_canonical_types_compatible_p): Use it. * tree.h (type_with_interoperable_signedness): Declare * lto.c (hash_canonical_type): Honor type_with_interoperable_signedness. * gfortran.dg/lto/bind_c-2_0.f90: New testcase. * gfortran.dg/lto/bind_c-2_1.c: New testcase. * gfortran.dg/lto/bind_c-3_0.f90: New testcase. * gfortran.dg/lto/bind_c-3_1.c: New testcase. * gfortran.dg/lto/bind_c-4_0.f90: New testcase. * gfortran.dg/lto/bind_c-4_1.c: New testcase. * gfortran.dg/lto/bind_c-5_0.f90: New testcase. * gfortran.dg/lto/bind_c-5_1.c: New testcase. From-SVN: r228680
Diffstat (limited to 'gcc/tree.h')
-rw-r--r--gcc/tree.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/tree.h b/gcc/tree.h
index 4c803f4..a776b89 100644
--- a/gcc/tree.h
+++ b/gcc/tree.h
@@ -4609,6 +4609,7 @@ extern int tree_map_base_marked_p (const void *);
extern void DEBUG_FUNCTION verify_type (const_tree t);
extern bool gimple_canonical_types_compatible_p (const_tree, const_tree,
bool trust_type_canonical = true);
+extern bool type_with_interoperable_signedness (const_tree);
/* Return simplified tree code of type that is used for canonical type merging. */
inline enum tree_code
tree_code_for_canonical_type_merging (enum tree_code code)