]> git.ipfire.org Git - thirdparty/gcc.git/commit
Handle loop fields in IPA ICF (PR ipa/90555).
authormarxin <marxin@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 28 May 2019 11:42:46 +0000 (11:42 +0000)
committermarxin <marxin@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 28 May 2019 11:42:46 +0000 (11:42 +0000)
commit79ceaafaebcfcc238e44221a01133f57902bba6f
treeb5ae2bf84c0e11107f83f9f18bb803bb50ba8776
parent580934f6aae0186ef13b2646f08f373074b76daf
Handle loop fields in IPA ICF (PR ipa/90555).

2019-05-28  Martin Liska  <mliska@suse.cz>

PR ipa/90555
* ipa-icf-gimple.c (func_checker::compare_loops): New function.
* ipa-icf-gimple.h (func_checker::compare_loops): Likewise.
(func_checker::compare_bb): Call compare_loops.
2019-05-28  Martin Liska  <mliska@suse.cz>

PR ipa/90555
* gcc.dg/ipa/pr90555.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@271695 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/ipa-icf-gimple.c
gcc/ipa-icf-gimple.h
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/ipa/pr90555.c [new file with mode: 0644]