ipa-icf.c (sem_function::merge): Do not create a wrapper also if the original functio...
authorEric Botcazou <ebotcazou@adacore.com>
Sun, 13 Nov 2016 17:23:13 +0000 (17:23 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Sun, 13 Nov 2016 17:23:13 +0000 (17:23 +0000)
commit4ebd491f2aed6d174c976f07d67c4b957f71391d
treef5dc01253c7a1ada57f4da8b6fd5f30f629cbe91
parent499266dc40a12b9a7923ebe5f0b89a2aaa838da9
ipa-icf.c (sem_function::merge): Do not create a wrapper also if the original function needs a static chain.

* ipa-icf.c (sem_function::merge): Do not create a wrapper also if the
original function needs a static chain.

From-SVN: r242354
gcc/ChangeLog
gcc/ipa-icf.c
gcc/testsuite/ChangeLog
gcc/testsuite/gnat.dg/lto21.adb [new file with mode: 0644]
gcc/testsuite/gnat.dg/lto21_pkg1.ads [new file with mode: 0644]
gcc/testsuite/gnat.dg/lto21_pkg2.adb [new file with mode: 0644]
gcc/testsuite/gnat.dg/lto21_pkg2.ads [new file with mode: 0644]