This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]