On Fri, Apr 17, 2020 at 10:44 AM Martin Liška <mli...@suse.cz> wrote: > > Hi. > > It's quite obvious fix where we ask for a compression algorithm > to file_data->lto_section_header which is unfilled. > > Patch works with nvptx offloading compiler and lto.exp works fine > on x86_64-linux-gnu. > > Ready to be installed?
OK. > Thanks, > Martin > > gcc/lto/ChangeLog: > > 2020-04-17 Martin Liska <mli...@suse.cz> > > PR lto/94612 > * lto-common.c: Initialize file_data->lto_section_header > before lto_mode_identity_table call. It is needed because > it decompresses a LTO section. > --- > gcc/lto/lto-common.c | 11 ++++++----- > 1 file changed, 6 insertions(+), 5 deletions(-) > >