diff options
author | Jan Hubicka <hubicka@ucw.cz> | 2015-06-08 22:37:53 +0200 |
---|---|---|
committer | Jan Hubicka <hubicka@gcc.gnu.org> | 2015-06-08 20:37:53 +0000 |
commit | 6542950e80b2ac7edbdba43f5147b15df282012e (patch) | |
tree | 508f4d43c761a49c59562b9a85f928d521013284 /gcc/ipa-split.c | |
parent | 97ded4cd2072029ac4d6d86e5b6eb5225961a27d (diff) | |
download | gcc-6542950e80b2ac7edbdba43f5147b15df282012e.tar.gz |
re PR lto/65378 (Tweak to wording of -Wodr message)
PR lto/65378
* ipa-utils.h (warn_types_mismatch): Update prototype.
* ipa-devirt.c (odr_types_equivalent_p): Add loc1/loc2
parameters.
(type_mismatch_p): New function.
(warn_types_mismatch): Reorg to work better on non-C++ types.
(odr_types_equivalent_p): Add loc1/loc2 parameters.
(add_type_duplicate): Update.
* lto-symtab.c (warn_type_compatibility_p): Fix call of
odr_or_derived_type_p.
(lto_symtab_merge_decls_2): Update call of warn_types_mismatch.
From-SVN: r224248
Diffstat (limited to 'gcc/ipa-split.c')
0 files changed, 0 insertions, 0 deletions