Add linker_output as prefix for LTO temps (PR lto/86548).
authorMartin Liska <mliska@suse.cz>
Thu, 26 Jul 2018 12:13:14 +0000 (14:13 +0200)
committerMartin Liska <marxin@gcc.gnu.org>
Thu, 26 Jul 2018 12:13:14 +0000 (12:13 +0000)
commitc00c9d03658915b0763d5f86503035d848e062de
tree2ed49df7c6193dcb1395b26386f0cda4a3c03605
parente98edc20cd615f43afce32c5de40d59fa25e40ed
Add linker_output as prefix for LTO temps (PR lto/86548).

2018-07-26  Martin Liska  <mliska@suse.cz>

        PR lto/86548
* lto-wrapper.c: Add linker_output as prefix
        for ltrans_output_file.
2018-07-26  Martin Liska  <mliska@suse.cz>

        PR lto/86548
* libiberty.h (make_temp_file_with_prefix): New function.
2018-07-26  Martin Liska  <mliska@suse.cz>

        PR lto/86548
* make-temp-file.c (TEMP_FILE): Remove leading 'cc'.
(make_temp_file): Call make_temp_file_with_prefix with
        first argument set to NULL.
(make_temp_file_with_prefix): Support also prefix.

From-SVN: r262999
gcc/ChangeLog
gcc/lto-wrapper.c
include/ChangeLog
include/libiberty.h
libiberty/ChangeLog
libiberty/make-temp-file.c