This is the mail archive of the gcc-bugs@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]

[Bug libfortran/36131] [4.4 Regression] wrong IO



------- 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


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