ipa-chkp.c (chkp_maybe_create_clone): Reset cdtor flags for instrumentation thunk.
authorIlya Enkovich <ilya.enkovich@intel.com>
Mon, 6 Apr 2015 10:41:55 +0000 (10:41 +0000)
committerIlya Enkovich <ienkovich@gcc.gnu.org>
Mon, 6 Apr 2015 10:41:55 +0000 (10:41 +0000)
commit71671f5d5259f40720b0636625b1edd11fb11f18
tree7a83ac87b8e0b11931890da884f8cb2ddebdd348
parentf1e5203841c2610c6bd33770354d3a8cf7b4e37c
ipa-chkp.c (chkp_maybe_create_clone): Reset cdtor flags for instrumentation thunk.

gcc/

* ipa-chkp.c (chkp_maybe_create_clone): Reset cdtor
flags for instrumentation thunk.
(chkp_produce_thunks): Likewise.

gcc/testsuite/

* gcc.dg/lto/chkp-ctor-merge_0.c: New.

From-SVN: r221877
gcc/ChangeLog
gcc/ipa-chkp.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/lto/chkp-ctor-merge_0.c [new file with mode: 0644]