[Bug inline-asm/82001] [5/6/7 regression] wrong code when two functions differ only in inline asm register constraints

marxin at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Sep 15 12:14:00 GMT 2017


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82001

--- Comment #7 from Martin Liška <marxin at gcc dot gnu.org> ---
Author: marxin
Date: Fri Sep 15 12:14:19 2017
New Revision: 252812

URL: https://gcc.gnu.org/viewcvs?rev=252812&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-5-branch/gcc/testsuite/gcc.dg/ipa/pr82001.c
Modified:
    branches/gcc-5-branch/gcc/ChangeLog
    branches/gcc-5-branch/gcc/ipa-icf-gimple.c
    branches/gcc-5-branch/gcc/ipa-icf-gimple.h
    branches/gcc-5-branch/gcc/testsuite/ChangeLog


More information about the Gcc-bugs mailing list