Re: [PATCH] ipa: silent -Wodr notes with -w

2023-02-08 Thread Martin Liška
On 2/9/23 01:10, Jan Hubicka wrote: >>> On 2/1/23 15:26, Martin Jambor wrote: Hi, On Fri, Dec 02 2022, Martin Liška wrote: > If -w is used, warn_odr properly sets *warned = false and > so it should be preserved when calling warn_types_mismatch. > > Noticed that

Re: [PATCH] ipa: silent -Wodr notes with -w

2023-02-08 Thread Jan Hubicka via Gcc-patches
> > On 2/1/23 15:26, Martin Jambor wrote: > > > Hi, > > > > > > On Fri, Dec 02 2022, Martin Liška wrote: > > > > If -w is used, warn_odr properly sets *warned = false and > > > > so it should be preserved when calling warn_types_mismatch. > > > > > > > > Noticed that during a LTO reduction where

Re: [PATCH] ipa: silent -Wodr notes with -w

2023-02-06 Thread Jan Hubicka via Gcc-patches
> On 2/1/23 15:26, Martin Jambor wrote: > > Hi, > > > > On Fri, Dec 02 2022, Martin Liška wrote: > > > If -w is used, warn_odr properly sets *warned = false and > > > so it should be preserved when calling warn_types_mismatch. > > > > > > Noticed that during a LTO reduction where I used -w. > >

Re: [PATCH] ipa: silent -Wodr notes with -w

2023-02-01 Thread Martin Liška
On 2/1/23 15:26, Martin Jambor wrote: Hi, On Fri, Dec 02 2022, Martin Liška wrote: If -w is used, warn_odr properly sets *warned = false and so it should be preserved when calling warn_types_mismatch. Noticed that during a LTO reduction where I used -w. Patch can bootstrap on

Re: [PATCH] ipa: silent -Wodr notes with -w

2023-02-01 Thread Martin Jambor
Hi, On Fri, Dec 02 2022, Martin Liška wrote: > If -w is used, warn_odr properly sets *warned = false and > so it should be preserved when calling warn_types_mismatch. > > Noticed that during a LTO reduction where I used -w. > > Patch can bootstrap on x86_64-linux-gnu and survives regression

Re: [PATCH] ipa: silent -Wodr notes with -w

2023-02-01 Thread Martin Liška
PING^5 On 1/24/23 14:34, Martin Liška wrote: PING^4 On 1/13/23 10:09, Martin Liška wrote: PING^3 On 12/22/22 13:15, Martin Liška wrote: PING^2 On 12/9/22 09:27, Martin Liška wrote: PING^1 On 12/2/22 12:27, Martin Liška wrote: If -w is used, warn_odr properly sets *warned = false and so

Re: [PATCH] ipa: silent -Wodr notes with -w

2023-01-24 Thread Martin Liška
PING^4 On 1/13/23 10:09, Martin Liška wrote: > PING^3 > > On 12/22/22 13:15, Martin Liška wrote: >> PING^2 >> >> On 12/9/22 09:27, Martin Liška wrote: >>> PING^1 >>> >>> On 12/2/22 12:27, Martin Liška wrote: If -w is used, warn_odr properly sets *warned = false and so it should be

Re: [PATCH] ipa: silent -Wodr notes with -w

2023-01-13 Thread Martin Liška
PING^3 On 12/22/22 13:15, Martin Liška wrote: PING^2 On 12/9/22 09:27, Martin Liška wrote: PING^1 On 12/2/22 12:27, Martin Liška wrote: If -w is used, warn_odr properly sets *warned = false and so it should be preserved when calling warn_types_mismatch. Noticed that during a LTO reduction

Re: [PATCH] ipa: silent -Wodr notes with -w

2022-12-22 Thread Martin Liška
PING^2 On 12/9/22 09:27, Martin Liška wrote: > PING^1 > > On 12/2/22 12:27, Martin Liška wrote: >> If -w is used, warn_odr properly sets *warned = false and >> so it should be preserved when calling warn_types_mismatch. >> >> Noticed that during a LTO reduction where I used -w. >> >> Patch can

Re: [PATCH] ipa: silent -Wodr notes with -w

2022-12-09 Thread Martin Liška
PING^1 On 12/2/22 12:27, Martin Liška wrote: > If -w is used, warn_odr properly sets *warned = false and > so it should be preserved when calling warn_types_mismatch. > > Noticed that during a LTO reduction where I used -w. > > Patch can bootstrap on x86_64-linux-gnu and survives regression

[PATCH] ipa: silent -Wodr notes with -w

2022-12-02 Thread Martin Liška
If -w is used, warn_odr properly sets *warned = false and so it should be preserved when calling warn_types_mismatch. Noticed that during a LTO reduction where I used -w. Patch can bootstrap on x86_64-linux-gnu and survives regression tests. Ready to be installed? Thanks, Martin gcc/ChangeLog: