mirror of git://gcc.gnu.org/git/gcc.git
ipa-chkp.c (chkp_maybe_create_clone): Don't try to clone instrumented thunks.
* ipa-chkp.c (chkp_maybe_create_clone): Don't try to clone instrumented thunks. From-SVN: r221516
This commit is contained in:
parent
8cf0fb5cef
commit
5cdd35db59
|
|
@ -1,3 +1,8 @@
|
||||||
|
2015-03-19 Ilya Enkovich <ilya.enkovich@intel.com>
|
||||||
|
|
||||||
|
* ipa-chkp.c (chkp_maybe_create_clone): Don't try to
|
||||||
|
clone instrumented thunks.
|
||||||
|
|
||||||
2015-03-19 Richard Biener <rguenther@suse.de>
|
2015-03-19 Richard Biener <rguenther@suse.de>
|
||||||
|
|
||||||
Revert
|
Revert
|
||||||
|
|
|
||||||
|
|
@ -592,7 +592,8 @@ chkp_maybe_create_clone (tree fndecl)
|
||||||
/* Clone all thunks. */
|
/* Clone all thunks. */
|
||||||
for (e = node->callers; e; e = e->next_caller)
|
for (e = node->callers; e; e = e->next_caller)
|
||||||
if (e->caller->thunk.thunk_p
|
if (e->caller->thunk.thunk_p
|
||||||
&& !e->caller->thunk.add_pointer_bounds_args)
|
&& !e->caller->thunk.add_pointer_bounds_args
|
||||||
|
&& !e->caller->instrumentation_clone)
|
||||||
{
|
{
|
||||||
struct cgraph_node *thunk
|
struct cgraph_node *thunk
|
||||||
= chkp_maybe_create_clone (e->caller->decl);
|
= chkp_maybe_create_clone (e->caller->decl);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue