cgraph: move former_thunk_p out of CHECKING_P macro.
authorMartin Liska <mliska@suse.cz>
Sat, 24 Oct 2020 06:41:16 +0000 (08:41 +0200)
committerMartin Liska <mliska@suse.cz>
Sat, 24 Oct 2020 06:42:33 +0000 (08:42 +0200)
commita29ff9c53a77b6e208350d8c6db0f3e988f61d1f
tree78f21910dde4ee008a78cf947b1c2d1c897a8516
parentd0e2ffcca0ef6d526de8d221ba41567526b4cb40
cgraph: move former_thunk_p out of CHECKING_P macro.

This fixes the following failure:

ld: cgraph.o: in function `cgraph_edge::verify_corresponds_to_fndecl(tree_node*)':
gcc/cgraph.c:3067: undefined reference to `cgraph_node::former_thunk_p()'
ld: cgraph.o: in function `clone_of_p':

gcc/ChangeLog:

* cgraph.c (cgraph_node::former_thunk_p): Move out of CHECKING_P
macro.
gcc/cgraph.c