* ipa-inline-analysis.c (param_change_prob): Get to the base object
commit209253aed270aba4c8edbb9be97f30219554e768
authorebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 1 Sep 2016 15:56:13 +0000 (1 15:56 +0000)
committerebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 1 Sep 2016 15:56:13 +0000 (1 15:56 +0000)
treead1c9b7f642244178757ab66921230a45896508c
parent5d07e758dec6d290bdaed77cd1f377f5b8c13328
* ipa-inline-analysis.c (param_change_prob): Get to the base object
first in all cases.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@239943 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/ipa-inline-analysis.c
gcc/testsuite/ChangeLog
gcc/testsuite/gnat.dg/opt58.adb [new file with mode: 0644]
gcc/testsuite/gnat.dg/opt58_pkg.ads [new file with mode: 0644]