Re: Fix false -Wodr warnings

2020-01-23 Thread Thomas Schwinge
Hi! On 2019-04-15T13:55:39+0200, Richard Biener wrote: > On Sun, Apr 14, 2019 at 10:59 PM Jan Hubicka wrote: >> this patch fixes false warning that is output when different -std >> settings are used. In this case C++ FE produces same declaration in >> different representations which differ by 0

Re: Fix false -Wodr warnings

2019-04-16 Thread Dominique d'Humières
> Le 16 avr. 2019 à 15:07, Jakub Jelinek a écrit : > > On Tue, Apr 16, 2019 at 02:51:14PM +0200, Jan Hubicka wrote: >>> Hi Jan, >>> >>> The test causes >>> >>> WARNING: lto.exp does not support dg-do >>> WARNING: lto.exp does not support dg-options in primary source file >>> >>> This is fix

Re: Fix false -Wodr warnings

2019-04-16 Thread Jakub Jelinek
On Tue, Apr 16, 2019 at 02:51:14PM +0200, Jan Hubicka wrote: > > Hi Jan, > > > > The test causes > > > > WARNING: lto.exp does not support dg-do > > WARNING: lto.exp does not support dg-options in primary source file > > > > This is fixed by the following patch > > > > --- ../_clean/gcc/testsui

Re: Fix false -Wodr warnings

2019-04-16 Thread Richard Biener
On Tue, Apr 16, 2019 at 2:51 PM Jan Hubicka wrote: > > > Hi Jan, > > > > The test causes > > > > WARNING: lto.exp does not support dg-do > > WARNING: lto.exp does not support dg-options in primary source file > > > > This is fixed by the following patch > > > > --- ../_clean/gcc/testsuite/g++.dg/l

Re: Fix false -Wodr warnings

2019-04-16 Thread Jan Hubicka
> Hi Jan, > > The test causes > > WARNING: lto.exp does not support dg-do > WARNING: lto.exp does not support dg-options in primary source file > > This is fixed by the following patch > > --- ../_clean/gcc/testsuite/g++.dg/lto/pr89358_0.C2019-04-15 > 00:04:48.0 +0200 > +++ gcc/tes

Re: Fix false -Wodr warnings

2019-04-16 Thread Dominique d'Humières
Hi Jan, The test causes WARNING: lto.exp does not support dg-do WARNING: lto.exp does not support dg-options in primary source file This is fixed by the following patch --- ../_clean/gcc/testsuite/g++.dg/lto/pr89358_0.C 2019-04-15 00:04:48.0 +0200 +++ gcc/testsuite/g++.dg/lto/pr89

Re: Fix false -Wodr warnings

2019-04-15 Thread Richard Biener
On Sun, Apr 14, 2019 at 10:59 PM Jan Hubicka wrote: > > Hi, > this patch fixes false warning that is output when different -std > settings are used. In this case C++ FE produces same declaration in > different representations which differ by 0 sized fileds only. > The patch makes them to be ignore

Fix false -Wodr warnings

2019-04-14 Thread Jan Hubicka
Hi, this patch fixes false warning that is output when different -std settings are used. In this case C++ FE produces same declaration in different representations which differ by 0 sized fileds only. The patch makes them to be ignored (and I checked we ignore them for canonical type merging too)