diff options
author | Jan Hubicka <hubicka@gcc.gnu.org> | 2015-05-16 23:19:23 +0000 |
---|---|---|
committer | Jan Hubicka <hubicka@gcc.gnu.org> | 2015-05-16 23:19:23 +0000 |
commit | 499568ed0202754e468970c3572ad560001a83cf (patch) | |
tree | dd9ae7ad5fd951386a60f02f271be5d8fb8ce939 /ChangeLog | |
parent | 259d29e396dbee07d0211196cd212c3464c5c325 (diff) | |
download | gcc-499568ed0202754e468970c3572ad560001a83cf.zip gcc-499568ed0202754e468970c3572ad560001a83cf.tar.gz gcc-499568ed0202754e468970c3572ad560001a83cf.tar.bz2 |
ipa-utils.h (warn_types_mismatch, [...]): Declare.
* ipa-utils.h (warn_types_mismatch, odr_or_derived_type_p,
odr_types_equivalent_p): Declare.
(odr_type_p): Use gcc_checking_assert.
(type_in_anonymous_namespace_p) Declare.
(type_with_linkage_p): Declare.
* common.opt (Wlto-type-mismatch): New warning.
* ipa-devirt.c (compound_type_base): New function.
(odr_or_derived_type_p): New function.
(odr_types_equivalent_p): New function.
(add_type_duplicate): Simplify.
(type_with_linkage_p): Add hack to prevent false positives on C types
(type_in_anonymous_namespace_p): Likewise.
* tree.c (need_assembler_name_p): Use type_with_linkage.
* tree.h (type_in_anonymous_namespace_p): Remove.
* doc/invoke.texi (-Wlto-type-mismatch): Document
From-SVN: r223259
Diffstat (limited to 'ChangeLog')
0 files changed, 0 insertions, 0 deletions