PR ipa/80763
* ipa-comdats.c (set_comdat_group): Only set comdat group of real
symbols; not inline clones.
From-SVN: r256369
+2018-01-09 Jan Hubicka <hubicka@ucw.cz>
+
+ PR ipa/80763
+ * ipa-comdats.c (set_comdat_group): Only set comdat group of real
+ symbols; not inline clones.
+
2018-01-09 Jakub Jelinek <jakub@redhat.com>
PR target/83507
symtab_node *head = (symtab_node *)head_p;
gcc_assert (!symbol->get_comdat_group ());
- symbol->set_comdat_group (head->get_comdat_group ());
- symbol->add_to_same_comdat_group (head);
+ if (symbol->real_symbol_p ())
+ {
+ symbol->set_comdat_group (head->get_comdat_group ());
+ symbol->add_to_same_comdat_group (head);
+ }
return false;
}