This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r212481 - in /trunk/gcc: ChangeLog common.opt d...
- From: hubicka at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Sat, 12 Jul 2014 15:34:46 -0000
- Subject: r212481 - in /trunk/gcc: ChangeLog common.opt d...
Author: hubicka
Date: Sat Jul 12 15:34:45 2014
New Revision: 212481
URL: https://gcc.gnu.org/viewcvs?rev=212481&root=gcc&view=rev
Log:
* tree.c (type_in_anonymous_namespace_p): Ignore TREE_PUBLIC
on builtin types.
* ipa-devirt.c: Include stor-layout.h and intl.h
(odr_subtypes_equivalent_p): New function.
(warn_odr): New function.
(warn_type_mismatch): New function.
(odr_types_equivalent_p): New function.
(add_type_duplicate): Use it.
* common.opt (Wodr): New flag.
* doc/invoke.texi (Wodr): Document new warning.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/common.opt
trunk/gcc/doc/invoke.texi
trunk/gcc/ipa-devirt.c
trunk/gcc/tree.c