re PR tree-optimization/63747 (icf mis-compares switch gimple)
authorMartin Liska <mliska@suse.cz>
Fri, 7 Nov 2014 12:35:43 +0000 (13:35 +0100)
committerMartin Liska <marxin@gcc.gnu.org>
Fri, 7 Nov 2014 12:35:43 +0000 (12:35 +0000)
commitfdaaeea1b61b60c0b76a657d7557a34c3e7b5186
tree44271cd0fb5a71b824811bdca1bbf30dff0728b8
parent8c14c817f30b966f509636b96d4e5586261a258b
re PR tree-optimization/63747 (icf mis-compares switch gimple)

PR ipa/63747
* gcc.dg/ipa/pr63747.c: New test.
* ipa-icf-gimple.c (func_checker::compare_gimple_switch):
Missing checking for CASE_LOW and CASE_HIGH added.

From-SVN: r217219
gcc/ChangeLog
gcc/ipa-icf-gimple.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/ipa/pr63747.c [new file with mode: 0644]