Make cgraph_edge::uid really unique.
authorMartin Liska <mliska@suse.cz>
Fri, 8 Jun 2018 12:33:47 +0000 (14:33 +0200)
committerMartin Liska <marxin@gcc.gnu.org>
Fri, 8 Jun 2018 12:33:47 +0000 (12:33 +0000)
commit8b25212d3e960dd130d71330ad6d55b40c5be254
tree5b0cf4f88de2297422b17172c003f1be6bc67986
parent9fb50ad822bd57786b12a2fc90c61032c519a621
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.

From-SVN: r261319
gcc/ChangeLog
gcc/cgraph.c
gcc/cgraph.h
gcc/symbol-summary.h