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 ipa/79043] Wrong code with optimize(("-fno-strict-aliasing")) and always_inline


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

--- Comment #6 from Martin Liška <marxin at gcc dot gnu.org> ---
Author: marxin
Date: Fri Jan 20 12:09:22 2017
New Revision: 244709

URL: https://gcc.gnu.org/viewcvs?rev=244709&root=gcc&view=rev
Log:
Reload global options when strict aliasing is dropped (PR ipa/79043).

2017-01-20  Martin Liska  <mliska@suse.cz>

        Backport from mainline
        2017-01-13  Martin Liska  <mliska@suse.cz>

        PR ipa/79043
        * function.c (set_cfun): Add new argument force.
        * function.h (set_cfun): Likewise.
        * ipa-inline-transform.c (inline_call): Use the function when
        strict alising from is dropped for function we inline to.
2017-01-20  Martin Liska  <mliska@suse.cz>

        Backport from mainline
        2017-01-13  Martin Liska  <mliska@suse.cz>

        PR ipa/79043
        * gcc.c-torture/execute/pr79043.c: New test.

Added:
    branches/gcc-5-branch/gcc/testsuite/gcc.c-torture/execute/pr79043.c
Modified:
    branches/gcc-5-branch/gcc/ChangeLog
    branches/gcc-5-branch/gcc/function.c
    branches/gcc-5-branch/gcc/function.h
    branches/gcc-5-branch/gcc/ipa-inline-transform.c
    branches/gcc-5-branch/gcc/testsuite/ChangeLog

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