[Bug lto/65378] Tweak to wording of -Wodr message
hubicka at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Jun 8 20:38:00 GMT 2015
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65378
--- Comment #3 from Jan Hubicka <hubicka at gcc dot gnu.org> ---
Author: hubicka
Date: Mon Jun 8 20:37:53 2015
New Revision: 224248
URL: https://gcc.gnu.org/viewcvs?rev=224248&root=gcc&view=rev
Log:
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.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/ipa-devirt.c
trunk/gcc/ipa-utils.h
trunk/gcc/lto/ChangeLog
trunk/gcc/lto/lto-symtab.c
More information about the Gcc-bugs
mailing list