]> git.ipfire.org Git - thirdparty/gcc.git/commit
Bug 93234 - INQUIRE on pre-assigned files of ROUND and SIGN properties fails
authorJerry DeLisle <jvdelisle@gcc.gnu.org>
Tue, 21 Jan 2020 23:35:42 +0000 (15:35 -0800)
committerJerry DeLisle <jvdelisle@gcc.gnu.org>
Tue, 21 Jan 2020 23:35:42 +0000 (15:35 -0800)
commitae403e0d4e06656159387e6cacbe545f1c368eda
tree8b4132982916a2e096574042db6e573cb965bc35
parent3384aa7af4c4ce193f59d086f507812b88caf113
Bug 93234 - INQUIRE on pre-assigned files of ROUND and SIGN properties fails

2020-01-21  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

        Backport from mainline
PR libfortran/93234
* io/unit.c (set_internal_unit): Set round and sign flags
correctly.

* gfortran.dg/inquire_pre.f90: New test.
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/inquire_pre.f90 [new file with mode: 0644]
libgfortran/ChangeLog
libgfortran/io/unit.c