projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f694a0d
)
lto-wrapper: Use nontemp filename with -save-temps
author
Tobias Burnus
<tobias@codesourcery.com>
Tue, 13 Oct 2020 13:56:58 +0000
(15:56 +0200)
committer
Tobias Burnus
<tobias@codesourcery.com>
Tue, 13 Oct 2020 13:56:58 +0000
(15:56 +0200)
gcc/ChangeLog:
* lto-wrapper.c (find_crtoffloadtable): Fix last commit
by adding NULL as last argument to concat.
gcc/lto-wrapper.c
patch
|
blob
|
history
diff --git
a/gcc/lto-wrapper.c
b/gcc/lto-wrapper.c
index 4d3cd7a56f20863fe697ea3259284624fcf7c77b..4d93313241dd13015b54ce4ad757d3fc99960432 100644
(file)
--- a/
gcc/lto-wrapper.c
+++ b/
gcc/lto-wrapper.c
@@
-1043,7
+1043,7
@@
find_crtoffloadtable (int save_temps, const char *dumppfx)
if (!save_temps)
crtoffloadtable = make_temp_file (".crtoffloadtable.o");
else
- crtoffloadtable = concat (dumppfx, "crtoffloadtable.o");
+ crtoffloadtable = concat (dumppfx, "crtoffloadtable.o"
, NULL
);
copy_file (crtoffloadtable, paths[i]);
printf ("%s\n", crtoffloadtable);
XDELETEVEC (crtoffloadtable);