Fix IPA ICF with ASM statements (PR inline-asm/82001).
authorMartin Liska <mliska@suse.cz>
Wed, 30 Aug 2017 12:38:31 +0000 (14:38 +0200)
committerMartin Liska <marxin@gcc.gnu.org>
Wed, 30 Aug 2017 12:38:31 +0000 (12:38 +0000)
commit6cc30cb4ff182583ffbebe9819973b5b693322fd
tree7aa4046e7e1ba187d40f28ab3b802965c1bb0c48
parent357b7604e55516bd3e1f44d1670d2248478a9b57
Fix IPA ICF with ASM statements (PR inline-asm/82001).

2017-08-30  Martin Liska  <mliska@suse.cz>

PR inline-asm/82001
* ipa-icf-gimple.c (func_checker::compare_tree_list_operand):
Rename to ...
(func_checker::compare_asm_inputs_outputs): ... this function.
(func_checker::compare_gimple_asm): Use the function to compare
also ASM constrains.
* ipa-icf-gimple.h: Rename the function.
2017-08-30  Martin Liska  <mliska@suse.cz>

PR inline-asm/82001
* gcc.dg/ipa/pr82001.c: New test.

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