mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-04-16 00:50:48 +08:00
lto-wrapper: Use nontemp filename with -save-temps
gcc/ChangeLog: * lto-wrapper.c (find_crtoffloadtable): Fix last commit by adding NULL as last argument to concat.
This commit is contained in:
parent
f694a0d2ed
commit
8311899edd
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user