This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug inline-asm/82001] [5/6/7 regression] wrong code when two functions differ only in inline asm register constraints
- From: "marxin at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 15 Sep 2017 09:22:14 +0000
- Subject: [Bug inline-asm/82001] [5/6/7 regression] wrong code when two functions differ only in inline asm register constraints
- Auto-submitted: auto-generated
- References: <bug-82001-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82001
--- Comment #6 from Martin Liška <marxin at gcc dot gnu.org> ---
Author: marxin
Date: Fri Sep 15 09:21:42 2017
New Revision: 252799
URL: https://gcc.gnu.org/viewcvs?rev=252799&root=gcc&view=rev
Log:
Backport r251530
2017-09-15 Martin Liska <mliska@suse.cz>
Backport from mainline
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-09-15 Martin Liska <mliska@suse.cz>
Backport from mainline
2017-08-30 Martin Liska <mliska@suse.cz>
PR inline-asm/82001
* gcc.dg/ipa/pr82001.c: New test.
Added:
branches/gcc-6-branch/gcc/testsuite/gcc.dg/ipa/pr82001.c
Modified:
branches/gcc-6-branch/gcc/ChangeLog
branches/gcc-6-branch/gcc/ipa-icf-gimple.c
branches/gcc-6-branch/gcc/ipa-icf-gimple.h
branches/gcc-6-branch/gcc/testsuite/ChangeLog