Re: [PATCH] Make cdtor names stable for LTO (PR lto/91307).

2019-08-20 Thread Jan Hubicka
> On Fri, Aug 16, 2019 at 10:53 AM Richard Biener > wrote: > > > > On Fri, Aug 16, 2019 at 10:47 AM Richard Biener > > wrote: > > > > > > On Thu, Aug 15, 2019 at 4:25 PM Jan Hubicka wrote: > > > > > > > > > On Thu, Aug 1, 2019 at 3:10 PM Martin Liška wrote: > > > > > > > > > > > > Hi. > > > > >

Re: [PATCH] Make cdtor names stable for LTO (PR lto/91307).

2019-08-20 Thread Richard Biener
On Fri, Aug 16, 2019 at 10:53 AM Richard Biener wrote: > > On Fri, Aug 16, 2019 at 10:47 AM Richard Biener > wrote: > > > > On Thu, Aug 15, 2019 at 4:25 PM Jan Hubicka wrote: > > > > > > > On Thu, Aug 1, 2019 at 3:10 PM Martin Liška wrote: > > > > > > > > > > Hi. > > > > > > > > > > In LTO WPA

Re: [PATCH] Make cdtor names stable for LTO (PR lto/91307).

2019-08-16 Thread Richard Biener
On Fri, Aug 16, 2019 at 10:47 AM Richard Biener wrote: > > On Thu, Aug 15, 2019 at 4:25 PM Jan Hubicka wrote: > > > > > On Thu, Aug 1, 2019 at 3:10 PM Martin Liška wrote: > > > > > > > > Hi. > > > > > > > > In LTO WPA mode we don't have to append temp file name > > > > to the global cdtor functi

Re: [PATCH] Make cdtor names stable for LTO (PR lto/91307).

2019-08-16 Thread Richard Biener
On Thu, Aug 15, 2019 at 4:25 PM Jan Hubicka wrote: > > > On Thu, Aug 1, 2019 at 3:10 PM Martin Liška wrote: > > > > > > Hi. > > > > > > In LTO WPA mode we don't have to append temp file name > > > to the global cdtor function names. > > > > Is that true? You can link with -r -flinker-output=rel

Re: [PATCH] Make cdtor names stable for LTO (PR lto/91307).

2019-08-15 Thread Jan Hubicka
> On Thu, Aug 1, 2019 at 3:10 PM Martin Liška wrote: > > > > Hi. > > > > In LTO WPA mode we don't have to append temp file name > > to the global cdtor function names. > > Is that true? You can link with -r -flinker-output=rel and use > multiple WPA phases whose results you then finally link. >

Re: [PATCH] Make cdtor names stable for LTO (PR lto/91307).

2019-08-01 Thread Martin Liška
On 8/1/19 4:21 PM, Richard Biener wrote: > On Thu, Aug 1, 2019 at 3:10 PM Martin Liška wrote: >> >> Hi. >> >> In LTO WPA mode we don't have to append temp file name >> to the global cdtor function names. > > Is that true? You can link with -r -flinker-output=rel and use > multiple WPA phases who

Re: [PATCH] Make cdtor names stable for LTO (PR lto/91307).

2019-08-01 Thread Richard Biener
On Thu, Aug 1, 2019 at 3:10 PM Martin Liška wrote: > > Hi. > > In LTO WPA mode we don't have to append temp file name > to the global cdtor function names. Is that true? You can link with -r -flinker-output=rel and use multiple WPA phases whose results you then finally link. So I don't think it

[PATCH] Make cdtor names stable for LTO (PR lto/91307).

2019-08-01 Thread Martin Liška
Hi. In LTO WPA mode we don't have to append temp file name to the global cdtor function names. It helps to have a reproducible builds with LTO mode. Patch can bootstrap on x86_64-linux-gnu and survives regression tests. Ready to be installed? Thanks, Martin gcc/ChangeLog: 2019-08-01 Martin Li