Reload global options when strict aliasing is dropped (PR ipa/79043).
commit67b5f619e75b3085374598d6f0626ec00d4c9de6
authormarxin <marxin@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 13 Jan 2017 12:56:54 +0000 (13 12:56 +0000)
committermarxin <marxin@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 13 Jan 2017 12:56:54 +0000 (13 12:56 +0000)
treeee2c1eda6fcc5175948e6466e036b6bf04e1ee12
parent785353b935ca320af8c01b628a4398a6aa4e3f42
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@244435 138bc75d-0d04-0410-961f-82ee72b054a4
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]