Re: -fstrict-aliasing fixes 1/5: propagate -fno-strict-aliasing in the inliner

2015-12-01 Thread Jan Hubicka
> > * 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. > >Index: ipa-inline-transform.c > >

Re: -fstrict-aliasing fixes 1/5: propagate -fno-strict-aliasing in the inliner

2015-12-01 Thread Bernhard Reutner-Fischer
On December 1, 2015 12:05:39 AM GMT+01:00, Jan Hubicka wrote: >Hi, >this is first patch in the broken up series. It adds the logic into >ipa-inline-transform to drop the flag when inlining. I do it always >until >we find a way to make early optimizations safe WRT this transform. > >The testcase

-fstrict-aliasing fixes 1/5: propagate -fno-strict-aliasing in the inliner

2015-11-30 Thread Jan Hubicka
Hi, this is first patch in the broken up series. It adds the logic into ipa-inline-transform to drop the flag when inlining. I do it always until we find a way to make early optimizations safe WRT this transform. The testcase triggers with GCC 5.0/4.9 too, older compilers passes if -fstrict-alia