ipa-prop.c (ipa_set_jf_known_type): Record always the main variant of the type.
authorJan Hubicka <hubicka@ucw.cz>
Sat, 28 Jun 2014 18:29:32 +0000 (20:29 +0200)
committerJan Hubicka <hubicka@gcc.gnu.org>
Sat, 28 Jun 2014 18:29:32 +0000 (18:29 +0000)
commitb49407f81a769c53bc2dccb20c2f3a7b1b255290
tree65bca9d9066431bf79ff6235031e6588852b5bfd
parentc7e1befad2b375b2245dca11329df92b600ef3ed
ipa-prop.c (ipa_set_jf_known_type): Record always the main variant of the type.

* ipa-prop.c (ipa_set_jf_known_type): Record always the main variant
of the type.
(ipa_set_ancestor_jf) Likewise.
(check_stmt_for_type_change): Check that we work on main variant.
(detect_type_change): Look into main variant.
(compute_known_type_jump_func): Check that main variant has BINFO.

From-SVN: r212108
gcc/ChangeLog
gcc/ipa-prop.c