aboutsummaryrefslogtreecommitdiff
path: root/gcc/collect-utils.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/collect-utils.c')
-rw-r--r--gcc/collect-utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/collect-utils.c b/gcc/collect-utils.c
index 095db8d..921bb34 100644
--- a/gcc/collect-utils.c
+++ b/gcc/collect-utils.c
@@ -127,7 +127,7 @@ collect_execute (const char *prog, char **argv, const char *outname,
/* Note: we assume argv contains at least one element; this is
checked above. */
- if (!save_temps || !atsuffix)
+ if (!save_temps || !atsuffix || !dumppfx)
response_file = make_temp_file ("");
else
response_file = concat (dumppfx, atsuffix, NULL);