https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82352
--- Comment #4 from Martin Liška <marxin at gcc dot gnu.org> --- Author: marxin Date: Thu Jan 4 08:54:17 2018 New Revision: 256226 URL: https://gcc.gnu.org/viewcvs?rev=256226&root=gcc&view=rev Log: Be careful about comdat boundary in ICF (PR ipa/82352). 2018-01-04 Martin Liska <mli...@suse.cz> PR ipa/82352 * ipa-icf.c (sem_function::merge): Do not cross comdat boundary. 2018-01-04 Martin Liska <mli...@suse.cz> PR ipa/82352 * g++.dg/ipa/pr82352.C: New test. Added: trunk/gcc/testsuite/g++.dg/ipa/pr82352.C Modified: trunk/gcc/ChangeLog trunk/gcc/ipa-icf.c trunk/gcc/testsuite/ChangeLog