]> git.ipfire.org Git - thirdparty/gcc.git/commit
Significantly speed up verifiers for a cgraph_node with many clones.
authormarxin <marxin@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 7 Mar 2019 15:33:52 +0000 (15:33 +0000)
committermarxin <marxin@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 7 Mar 2019 15:33:52 +0000 (15:33 +0000)
commit4481f3d028156d34c3e3ec587feb2302b06b7db4
treefd2183289f3e715a297915d890a8581a5d771fa4
parentf62ec1bb16cb7645d9bf6c981178d5e7b5e06ba2
Significantly speed up verifiers for a cgraph_node with many clones.

2019-03-07  Martin Liska  <mliska@suse.cz>

* cgraph.c (cgraph_node::verify_node): Verify with a neighbour
which is equivalent to searching for this in clones chain.
* symtab.c (symtab_node::verify_base): Similarly compare ASM
names with a neighbour and special case first node in a chain.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@269461 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/cgraph.c
gcc/symtab.c