[Bug ipa/79043] Wrong code with optimize(("-fno-strict-aliasing")) and always_inline
marxin at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Jan 20 12:10:00 GMT 2017
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
More information about the Gcc-bugs
mailing list