IPA ICF: handle IMAGPART_EXPR and REALPART_EXPR.
authorMartin Liska <mliska@suse.cz>
Wed, 14 Jan 2015 10:35:13 +0000 (11:35 +0100)
committerMartin Liska <marxin@gcc.gnu.org>
Wed, 14 Jan 2015 10:35:13 +0000 (10:35 +0000)
commit217c08c57118c5afc573dbaa4bcef5874787616f
tree9f702d94b0a0ab657939adb1fa1b6c7431d3b8d2
parentf29e90f54168a3f075476860fd5bf5ee71cb895a
IPA ICF: handle IMAGPART_EXPR and REALPART_EXPR.

* gcc.dg/ipa/pr64307.c: New test.
* ipa-icf-gimple.c (func_checker::compare_operand): Add support for
IMAGPART_EXPR and REALPART_EXPR and fix BIT_FIELD_REF comparison.

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