Do not inline variadic thunks (PR ipa/83549).
authorMartin Liska <mliska@suse.cz>
Wed, 3 Jan 2018 14:15:58 +0000 (15:15 +0100)
committerMartin Liska <marxin@gcc.gnu.org>
Wed, 3 Jan 2018 14:15:58 +0000 (14:15 +0000)
commitca04a532f3fcf91939ec03da628aa94207eaa067
treee2d804c92403923aeb2c6b4ae3ed06f36eb2797c
parente164534f16c838373ab888e0b36ab5e103d32e25
Do not inline variadic thunks (PR ipa/83549).

2018-01-03  Martin Liska  <mliska@suse.cz>

PR ipa/83549
* cif-code.def (VARIADIC_THUNK): New enum value.
* ipa-fnsummary.c (compute_fn_summary): Do not inline variadic
thunks.
2018-01-03  Martin Liska  <mliska@suse.cz>

PR ipa/83549
* g++.dg/ipa/pr83549.C: New test.

From-SVN: r256177
gcc/ChangeLog
gcc/cif-code.def
gcc/ipa-fnsummary.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/ipa/pr83549.C [new file with mode: 0644]