ipa-inline-transform.c (inline_call): Drop -fstrict-aliasing when inlining -fno-stric...
authorJan Hubicka <hubicka@ucw.cz>
Tue, 1 Dec 2015 04:13:26 +0000 (05:13 +0100)
committerJan Hubicka <hubicka@gcc.gnu.org>
Tue, 1 Dec 2015 04:13:26 +0000 (04:13 +0000)
commit6fa04359f8d9b1ea1d30dafe072b114bef9727a0
tree240f713498a06cb9ed0c52da4cbe4ac634c7b659
parent341946d8013589039f623bf518fb86b7a387d333
ipa-inline-transform.c (inline_call): Drop -fstrict-aliasing when inlining -fno-strict-aliasing into...

* ipa-inline-transform.c (inline_call): Drop -fstrict-aliasing when
inlining -fno-strict-aliasing into -fstrict-aliasing body.
* gcc.dg/lto/alias-1_0.c: New testcase.
* gcc.dg/lto/alias-1_1.c: New testcase.

From-SVN: r231094
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/lto/alias-1_0.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/lto/alias-1_1.c [new file with mode: 0644]