https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82001
--- Comment #2 from Martin Liška <marxin at gcc dot gnu.org> --- Author: marxin Date: Wed Aug 30 12:38:31 2017 New Revision: 251530 URL: https://gcc.gnu.org/viewcvs?rev=251530&root=gcc&view=rev Log: Fix IPA ICF with ASM statements (PR inline-asm/82001). 2017-08-30 Martin Liska <mli...@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 <mli...@suse.cz> PR inline-asm/82001 * gcc.dg/ipa/pr82001.c: New test. Added: trunk/gcc/testsuite/gcc.dg/ipa/pr82001.c Modified: trunk/gcc/ChangeLog trunk/gcc/ipa-icf-gimple.c trunk/gcc/ipa-icf-gimple.h trunk/gcc/testsuite/ChangeLog