ipa-chkp.c (chkp_produce_thunks): Add early param to split thunks production into...
authorIlya Enkovich <ilya.enkovich@intel.com>
Mon, 19 Jan 2015 10:26:52 +0000 (10:26 +0000)
committerIlya Enkovich <ienkovich@gcc.gnu.org>
Mon, 19 Jan 2015 10:26:52 +0000 (10:26 +0000)
commitc11d86b47facb2f787a7cfde0755454c73b8b90e
tree68902d8ce02f2954964f324ed9e2a885df3ff7fd
parent9deaf59d1b60b7738f848ecd99171d16e99438ae
ipa-chkp.c (chkp_produce_thunks): Add early param to split thunks production into two passes.

gcc/

* ipa-chkp.c (chkp_produce_thunks): Add early param
to split thunks production into two passes.  Keep
'always_inline' function bodies after the first pass.
(pass_data_ipa_chkp_early_produce_thunks): New.
(pass_ipa_chkp_early_produce_thunks): New.
(pass_ipa_chkp_produce_thunks::execute): Adjust to new
chkp_produce_thunks signature.
(make_pass_ipa_chkp_early_produce_thunks): New.
* passes.def (pass_ipa_chkp_early_produce_thunks): New.
(pass_ipa_chkp_produce_thunks): Move after local optimizations.
* tree-pass.h (make_pass_ipa_chkp_early_produce_thunks): New.

gcc/testsuite/

* gcc.target/i386/chkp-always_inline.c: New.

From-SVN: r219834
gcc/ChangeLog
gcc/ipa-chkp.c
gcc/passes.def
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/chkp-always_inline.c [new file with mode: 0644]
gcc/tree-pass.h