https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65765
--- Comment #12 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Author: jakub Date: Wed Apr 15 12:09:56 2015 New Revision: 222124 URL: https://gcc.gnu.org/viewcvs?rev=222124&root=gcc&view=rev Log: PR ipa/65765 * ipa-icf-gimple.c (func_checker::compare_bb): For GIMPLE_NOP and GIMPLE_PREDICT use break instead of return true. For GIMPLE_EH_DISPATCH, compare dispatch region. * g++.dg/ipa/pr65765.C: New test. Added: branches/gcc-5-branch/gcc/testsuite/g++.dg/ipa/pr65765.C Modified: branches/gcc-5-branch/gcc/ChangeLog branches/gcc-5-branch/gcc/ipa-icf-gimple.c branches/gcc-5-branch/gcc/testsuite/ChangeLog