https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62215
Tobias Burnus <burnus at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |burnus at gcc dot gnu.org
--- Comment #7 from Tobias Burnus <burnus at gcc dot gnu.org> ---
(In reply to Janne Blomqvist from comment #6)
> So please go ahead and commit the patch to trunk and 4.9.
It's fine from my side as well.
> As for the #ifdef stuff, [...]
> That would save an extra syscall on POSIX systems, but I don't think it
> really matters, so do as you see fit.
As it is only in the compiler and not in the libgfortran library (as I somehow
thought it would be), simply reinstating the unlink call is probably best.