Add function part to a same comdat group (PR ipa/80212).
authorMartin Liska <mliska@suse.cz>
Tue, 11 Apr 2017 16:38:19 +0000 (18:38 +0200)
committerMartin Liska <marxin@gcc.gnu.org>
Tue, 11 Apr 2017 16:38:19 +0000 (16:38 +0000)
commitc6cf6ef7c090883c950ed6bec89bbee887130130
tree88739d6627affe2cdcd6339aac2c0a20b8452b43
parent58928b3589e98d5db034d9700b12d15015c36346
Add function part to a same comdat group (PR ipa/80212).

2017-04-11  Martin Liska  <mliska@suse.cz>

PR ipa/80212
* cgraph.c (cgraph_node::dump): Dump calls_comdat_local.
* ipa-split.c (split_function): Create a local comdat symbol
if caller is in a comdat group.
2017-04-11  Martin Liska  <mliska@suse.cz>

PR ipa/80212
* g++.dg/ipa/pr80212.C: New test.

From-SVN: r246848
gcc/ChangeLog
gcc/cgraph.c
gcc/ipa-split.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/ipa/pr80212.C [new file with mode: 0644]