Make cgraph_edge::uid really unique.
commitd24fc4aa6e69066e555a3eaa623a9d5a9540456b
authormarxin <marxin@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 8 Jun 2018 12:33:47 +0000 (8 12:33 +0000)
committermarxin <marxin@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 8 Jun 2018 12:33:47 +0000 (8 12:33 +0000)
tree5b0cf4f88de2297422b17172c003f1be6bc67986
parentbc4e128695f4ac7cd8396733c5ffd9db568b9c4e
Make cgraph_edge::uid really unique.

2018-06-08  Martin Liska  <mliska@suse.cz>

* cgraph.c (symbol_table::create_edge): Always assign a new
unique number.
(symbol_table::free_edge): Do not recycle numbers.
* cgraph.h (cgraph_edge::get): New method.
* symbol-summary.h (symtab_removal): Use it.
(symtab_duplication): Likewise.
(call_summary::hashable_uid): Remove.

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