Re: [Patch] lto-wrapper.c: Use -flto-partition=none with offloading (PR97179)

2020-09-23 Thread Richard Biener
On Wed, 23 Sep 2020, Richard Biener wrote: > On Wed, 23 Sep 2020, Tobias Burnus wrote: > > > (Pre-remark: the following applies to the host; the offloading > > is only involved as otherwise the (.gnu.)offload_{vars,funcs} > > global variable/table wouldn't exist.) > > > > Due to partitioning, it

Re: [Patch] lto-wrapper.c: Use -flto-partition=none with offloading (PR97179)

2020-09-23 Thread Richard Biener
On Wed, 23 Sep 2020, Tobias Burnus wrote: > (Pre-remark: the following applies to the host; the offloading > is only involved as otherwise the (.gnu.)offload_{vars,funcs} > global variable/table wouldn't exist.) > > Due to partitioning, it can happen that the offloading table > and the functions

Re: [Patch] lto-wrapper.c: Use -flto-partition=none with offloading (PR97179)

2020-09-23 Thread Jakub Jelinek via Gcc-patches
On Wed, Sep 23, 2020 at 02:53:54PM +0200, Tobias Burnus wrote: > (Pre-remark: the following applies to the host; the offloading > is only involved as otherwise the (.gnu.)offload_{vars,funcs} > global variable/table wouldn't exist.) > > Due to partitioning, it can happen that the offloading table

[Patch] lto-wrapper.c: Use -flto-partition=none with offloading (PR97179)

2020-09-23 Thread Tobias Burnus
(Pre-remark: the following applies to the host; the offloading is only involved as otherwise the (.gnu.)offload_{vars,funcs} global variable/table wouldn't exist.) Due to partitioning, it can happen that the offloading table and the functions and variables (which it contains as pointer), end up i