This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH, libgfortran] Fix for PR25109


Jerry DeLisle wrote:
The attached patch fixes this PR. We were setting the default BLANK=behavior to UNSPECIFIED when it should have been "NULL"

Regression tested and NIST tested:

Could be considered obvious. I will wait to commit until tomorrow. I don't know how to do a test case for reading stdin. I did test with the examples in the pr.

2205-11-26 Jerry DeLisle <jvdelisle@gcc.gnu.org>

    PR libgfortran/25109
    * io/unit.c (init_units): Set default flag to BLANK_NULL per
    requirement of F95 standard.  Set PAD_YES for stdin.
    (get_unit): Set PAD_YES for internal units.


Committed to trunk. r107588


Will wait a little while for 4.1, just in case.

Regards,

JerryD


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]