[Bug inline-asm/82001] [5/6/7/8 regression] wrong code when two functions differ only in inline asm register constraints
marxin at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Aug 30 14:40:00 GMT 2017
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 <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.
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
More information about the Gcc-bugs
mailing list