diff options
author | Jan Hubicka <jh@suse.cz> | 2019-06-01 18:36:49 +0200 |
---|---|---|
committer | Jan Hubicka <hubicka@gcc.gnu.org> | 2019-06-01 16:36:49 +0000 |
commit | e4b44fd741ee25aa5ad086949ccfbcbd3736c0f3 (patch) | |
tree | de277309e24560ad8eaec387435ea436ae9943ba /gcc/ipa-utils.h | |
parent | 5a2a2fb3152a801b5652bb65c380d92db2d900d3 (diff) | |
download | gcc-e4b44fd741ee25aa5ad086949ccfbcbd3736c0f3.zip gcc-e4b44fd741ee25aa5ad086949ccfbcbd3736c0f3.tar.gz gcc-e4b44fd741ee25aa5ad086949ccfbcbd3736c0f3.tar.bz2 |
alias.c: Include ipa-utils.h.
* alias.c: Include ipa-utils.h.
(get_alias_set): Try to complete ODR type via ODR type hash lookup.
* ipa-devirt.c (prevailing_odr_type): New.
* ipa-utils.h (previaling_odr_type): Declare.
* g++.dg/lto/alias-1_0.C: New testcase.
* g++.dg/lto/alias-1_1.C: New testcase.
From-SVN: r271837
Diffstat (limited to 'gcc/ipa-utils.h')
-rw-r--r-- | gcc/ipa-utils.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/ipa-utils.h b/gcc/ipa-utils.h index b70e8c5..77cf3d3d 100644 --- a/gcc/ipa-utils.h +++ b/gcc/ipa-utils.h @@ -92,6 +92,7 @@ void warn_types_mismatch (tree t1, tree t2, location_t loc1 = UNKNOWN_LOCATION, bool odr_or_derived_type_p (const_tree t); bool odr_types_equivalent_p (tree type1, tree type2); bool odr_type_violation_reported_p (tree type); +tree prevailing_odr_type (tree type); /* Return vector containing possible targets of polymorphic call E. If COMPLETEP is non-NULL, store true if the list is complete. |