This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r212222 - in /trunk/gcc: ChangeLog ipa-devirt.c...
- From: hubicka at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Wed, 02 Jul 2014 07:48:01 -0000
- Subject: r212222 - in /trunk/gcc: ChangeLog ipa-devirt.c...
Author: hubicka
Date: Wed Jul 2 07:48:00 2014
New Revision: 212222
URL: https://gcc.gnu.org/viewcvs?rev=212222&root=gcc&view=rev
Log:
* ipa-utils.h (method_class_type, vtable_pointer_value_to_binfo,
vtable_pointer_value_to_vtable): Constify.
(contains_polymorphic_type_p): Declare.
* ipa-devirt.c (method_class_type, vtable_pointer_value_to_binfo,
vtable_pointer_value_to_vtable): Constify.
(contains_polymorphic_type_p): New predicate.
* ipa-prop.c (ipa_set_jf_known_type): Allow types containing
polymorphic types.
(ipa_set_ancestor_jf): Likewise.
(detect_type_change): Return false in easy cases.
(compute_complex_assign_jump_func): Require type to contain
polymorphic type.
(compute_known_type_jump_func): Likewise.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/ipa-devirt.c
trunk/gcc/ipa-prop.c
trunk/gcc/ipa-utils.h