https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118121
--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> --- (In reply to Andrew Pinski from comment #2) > Though I wonder if make_temp_file_with_prefix should be used instead of > mkstemps directly. No it can't since in this case we a directory while in the case of make_temp_file_with_prefix is based on choose_tmpdir.