re PR ipa/65765 (Compiling Firefox with GCC 5 leads to broken javascript engine on...
authorJakub Jelinek <jakub@redhat.com>
Wed, 15 Apr 2015 11:47:44 +0000 (13:47 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Wed, 15 Apr 2015 11:47:44 +0000 (13:47 +0200)
commit366ee94b445fd959c7947e45d2cb9a2a4a0b4509
tree7f625d6c00ba51bc474ba5e8d9355cf7d4f4512b
parentf8a7e15406265eb0bdc15f2bb0f57f32d549fca0
re PR ipa/65765 (Compiling Firefox with GCC 5 leads to broken javascript engine on x86-64)

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.

From-SVN: r222123
gcc/ChangeLog
gcc/ipa-icf-gimple.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/ipa/pr65765.C [new file with mode: 0644]