Reload global options when strict aliasing is dropped (PR ipa/79043).
authorMartin Liska <mliska@suse.cz>
Fri, 13 Jan 2017 12:56:54 +0000 (13:56 +0100)
committerMartin Liska <marxin@gcc.gnu.org>
Fri, 13 Jan 2017 12:56:54 +0000 (12:56 +0000)
commit77719b0675a248bcf9cb0876a86e80ca54979601
treeee2c1eda6fcc5175948e6466e036b6bf04e1ee12
parentb1c95bb595d159b769409063df40414b9c830009
Reload global options when strict aliasing is dropped (PR ipa/79043).

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-13  Martin Liska  <mliska@suse.cz>

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

From-SVN: r244435
gcc/ChangeLog
gcc/function.c
gcc/function.h
gcc/ipa-inline-transform.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/execute/pr79043.c [new file with mode: 0644]