diff options
author | Jan Hubicka <hubicka@ucw.cz> | 2014-09-24 22:30:21 +0200 |
---|---|---|
committer | Jan Hubicka <hubicka@gcc.gnu.org> | 2014-09-24 20:30:21 +0000 |
commit | a198145843f0b16e59069cb2da55c47a0a9bc2b9 (patch) | |
tree | fb085630166aa196f47f51404bc1b7f3f2c51098 /gcc/fortran | |
parent | c6195f588b1b8980b07d53394edaaa2cd6807588 (diff) | |
download | gcc-a198145843f0b16e59069cb2da55c47a0a9bc2b9.zip gcc-a198145843f0b16e59069cb2da55c47a0a9bc2b9.tar.gz gcc-a198145843f0b16e59069cb2da55c47a0a9bc2b9.tar.bz2 |
ipa-utils.h (polymorphic_call_context): Add metdhos dump, debug and clear_outer_type.
* ipa-utils.h (polymorphic_call_context): Add
metdhos dump, debug and clear_outer_type.
(ipa_polymorphic_call_context::ipa_polymorphic_call_context): Simplify.
(ipa_polymorphic_call_context::clear_outer_type): New method.
* ipa-prop.c (ipa_analyze_call_uses): Do not overwrite offset.
* ipa-devirt.c (types_odr_comparable): New function.
(types_must_be_same_for_odr): New function.
(odr_subtypes_equivalent_p): Simplify.
(possible_placement_new): Break out from ...
(ipa_polymorphic_call_context::restrict_to_inner_type): ... here;
be more cuatious about returning false in cases the context may be
valid in derived type or via placement new.
(contains_type_p): Clear maybe_derived_type
(ipa_polymorphic_call_context::dump): New method.
(ipa_polymorphic_call_context::debug): New method.
(ipa_polymorphic_call_context::set_by_decl): Cleanup comment.
(ipa_polymorphic_call_context::set_by_invariant): Simplify.
(ipa_polymorphic_call_context::ipa_polymorphic_call_context): Simplify.
(possible_polymorphic_call_targets): Trust context.restrict_to_inner_class
to suceed on all valid cases; remove confused sanity check.
(dump_possible_polymorphic_call_targets): Simplify.
From-SVN: r215569
Diffstat (limited to 'gcc/fortran')
0 files changed, 0 insertions, 0 deletions