[patch, lingfortran] Bug 83560 - list-directed formatting of INTEGER is missing plus on output

Dominique d'Humières dominiq@tournesol.lps.ens.fr
Mon Dec 25 13:10:00 GMT 2017


Dear Jerry,

The lines

+a=12.3456

and

+open(unit=10,sign='plus')

in gfortran.dg/integer_plus.f90 could probably be removed.

>From comment 2 in the PR (and the attached test), it seems that the reporter is expecting sign=‘plus’ to apply also to namelists, which is not the case with this patch.

This seems supported by (my understanding of)

> 10.11.4.2 Namelist output editing
>
> 1 Values in namelist output records are edited as for list-directed output (10.10.4).

Merry Christmas!

Dominique



More information about the Fortran mailing list