[PATCH] Handle digits in %g, %| and %m argument

Andrew Pinski pinskia@physics.uc.edu
Mon Oct 10 12:20:00 GMT 2005


On Oct 10, 2005, at 6:12 AM, Jakub Jelinek wrote:

> Hi!
>
> Fortran uses -o %|.f95 in its specs, but without this patch the driver
> treats this as %|.f followed immediately by 95.  Which means that
> when the driver is creating the filename, it will create say
> /tmp/ccjrY4pv.f as empty file, then cc1 will be called with
> -o /tmp/ccjrY4pv.f95 etc. and afterwards we end up with an empty
> left-over file /tmp/ccjrY4pv.f.
> Ok for HEAD/4.0?

Isn't this the same patch as
http://gcc.gnu.org/ml/gcc-patches/2005-08/msg01289.html
?

If it is then this also fixes PR 23861.


-- Pinski



More information about the Fortran mailing list