diff options
author | Jan Hubicka <jh@suse.cz> | 2013-06-21 08:43:39 +0200 |
---|---|---|
committer | Jan Hubicka <hubicka@gcc.gnu.org> | 2013-06-21 06:43:39 +0000 |
commit | d84db1ed8ab30d720ca46e008bb8864d06fac02b (patch) | |
tree | bcd4e436084bd33e82d78d3f7a748097b5c85733 /gcc/tree.h | |
parent | bc6ad87f60c29b76fddc2a4c770c26291d399556 (diff) | |
download | gcc-d84db1ed8ab30d720ca46e008bb8864d06fac02b.zip gcc-d84db1ed8ab30d720ca46e008bb8864d06fac02b.tar.gz gcc-d84db1ed8ab30d720ca46e008bb8864d06fac02b.tar.bz2 |
gimple-fold.c (gimple_extract_devirt_binfo_from_cst): Use types_same_for_odr.
* gimple-fold.c (gimple_extract_devirt_binfo_from_cst): Use
types_same_for_odr.
* tree.c (decls_same_for_odr): New function.
(same_for_edr): New function.
(types_same_for_odr): New function.
(get_binfo_at_offset): Use it.
* tree.h (types_same_for_odr): Declare.
From-SVN: r200288
Diffstat (limited to 'gcc/tree.h')
-rw-r--r-- | gcc/tree.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -5974,6 +5974,7 @@ extern location_t tree_nonartificial_location (tree); extern tree block_ultimate_origin (const_tree); extern tree get_binfo_at_offset (tree, HOST_WIDE_INT, tree); +extern bool types_same_for_odr (tree type1, tree type2); extern tree get_ref_base_and_extent (tree, HOST_WIDE_INT *, HOST_WIDE_INT *, HOST_WIDE_INT *); extern bool contains_bitfld_component_ref_p (const_tree); |