Clear calls_comdat_local when comdat group is dissolved
authorJan Hubicka <hubicka@ucw.cz>
Tue, 3 Dec 2019 18:24:00 +0000 (19:24 +0100)
committerJan Hubicka <hubicka@gcc.gnu.org>
Tue, 3 Dec 2019 18:24:00 +0000 (18:24 +0000)
commit21cd8589291a1b415106740acd56509e0143356d
tree308a318b472270dc65235589a0837010dcb6c490
parent4f75f97bf61a610f21023b731159489e6d23f0fe
Clear calls_comdat_local when comdat group is dissolved

while looking into Firefox inlining dumps I noticed that we often do not
inline because we think function calls comdat local while the comdat group
itself has been dissolved.

* cgraph.c (cgraph_node::verify_node): Check that calls_comdat_local
is set only for symbol in comdat group.
* symtab.c (symtab_node::dissolve_same_comdat_group_1): Clear it.

From-SVN: r278944
gcc/ChangeLog
gcc/cgraph.c
gcc/symtab.c