ipa-inline-analysis.c (param_change_prob): Get to the base object first in all cases.
authorEric Botcazou <ebotcazou@adacore.com>
Thu, 1 Sep 2016 15:56:13 +0000 (15:56 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Thu, 1 Sep 2016 15:56:13 +0000 (15:56 +0000)
commit0a6b05234a625802bb1f75ee66e61b404da20434
treead1c9b7f642244178757ab66921230a45896508c
parentd87a85c67b9f4e424c9660753429e8252d265ee3
ipa-inline-analysis.c (param_change_prob): Get to the base object first in all cases.

* ipa-inline-analysis.c (param_change_prob): Get to the base object
first in all cases.

From-SVN: r239943
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]