Add linker_output as prefix for LTO temps (PR lto/86548).
commit14ad4d704f7c300307349f8a126667925183487d
authormarxin <marxin@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 26 Jul 2018 12:13:14 +0000 (26 12:13 +0000)
committermarxin <marxin@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 26 Jul 2018 12:13:14 +0000 (26 12:13 +0000)
tree2ed49df7c6193dcb1395b26386f0cda4a3c03605
parentb5e320cbfa5f184911335c7b49a073ee0d15ea01
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@262999 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/lto-wrapper.c
include/ChangeLog
include/libiberty.h
libiberty/ChangeLog
libiberty/make-temp-file.c