This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libfortran/36131] [4.4 Regression] wrong IO
- From: "jvdelisle at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 6 May 2008 02:27:57 -0000
- Subject: [Bug libfortran/36131] [4.4 Regression] wrong IO
- References: <bug-36131-6642@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #3 from jvdelisle at gcc dot gnu dot org 2008-05-06 02:27 -------
The regression occurs from r132512, the change to transfer.c
The test case from pr36142 is:
! { dg-do run }
! Adapted from fmt_t_6.f testcase for PR 34782
character a(6)
data a / 'a', 'b', 'c', 'd', 'e', 'f' /
write(*,'(T20,A3, T1,A4, T5,A2, T7,A2, T9,A4, T17,A2)')
1 'a', 'b', 'c', 'd', 'e', 'f'
print *, 'should be'
write (*, '(A)') " b c d e f a"
end
By reverting the relevant portion of the patch, these two test cases pass which
leaves fmt_t_7.f failing which the original patch was intended for. fmt_t_7.f
is an extreme case which is not time critical to fix.
I plan to revert the patch and xfail fmt_t_7.f90 until we sort this out
further.
See my comment to pr36142 on the alloc facility.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36131