* ipa-prop.c (ipa_set_jf_known_type): Record always the main variant
commit3d96ed3b0b572337a55e08db1f4438c37b96ba16
authorhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 28 Jun 2014 18:29:32 +0000 (28 18:29 +0000)
committerhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 28 Jun 2014 18:29:32 +0000 (28 18:29 +0000)
tree65bca9d9066431bf79ff6235031e6588852b5bfd
parent978216d1f8b1fd9b58fc1d1b011fc9c36d7fd3ac
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@212108 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/ipa-prop.c