r212481 - in /trunk/gcc: ChangeLog common.opt d...

hubicka@gcc.gnu.org hubicka@gcc.gnu.org
Sat Jul 12 15:34:00 GMT 2014


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



More information about the Gcc-cvs mailing list