Re: Silence false positive on LTO type merging waring

2018-01-26 Thread Jan Hubicka
> On Fri, 26 Jan 2018, Jan Hubicka wrote: > > > > On Thu, 25 Jan 2018, Jan Hubicka wrote: > > > > > > > Hi, > > > > the testcase triggers invalid warning on type mismatch because array > > > > of pointers to complete type has different alias set from array of > > > > pointers > > > > to incomple

Re: Silence false positive on LTO type merging waring

2018-01-26 Thread Richard Biener
On Fri, 26 Jan 2018, Jan Hubicka wrote: > > On Thu, 25 Jan 2018, Jan Hubicka wrote: > > > > > Hi, > > > the testcase triggers invalid warning on type mismatch because array > > > of pointers to complete type has different alias set from array of > > > pointers > > > to incomplete type. This is

Re: Silence false positive on LTO type merging waring

2018-01-26 Thread Jan Hubicka
> On Thu, 25 Jan 2018, Jan Hubicka wrote: > > > Hi, > > the testcase triggers invalid warning on type mismatch because array > > of pointers to complete type has different alias set from array of pointers > > to incomplete type. This is valid, because incoplete pointer has alias set > > of void_p

Re: Silence false positive on LTO type merging waring

2018-01-26 Thread Richard Biener
On Thu, 25 Jan 2018, Jan Hubicka wrote: > Hi, > the testcase triggers invalid warning on type mismatch because array > of pointers to complete type has different alias set from array of pointers > to incomplete type. This is valid, because incoplete pointer has alias set > of void_ptr which alias