This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/34782] tab format failure to display properly
- From: "burnus at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 14 Jan 2008 22:38:04 -0000
- Subject: [Bug fortran/34782] tab format failure to display properly
- References: <bug-34782-15631@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #1 from burnus at gcc dot gnu dot org 2008-01-14 22:38 -------
Jerry, do you have an idea?
Confirm. Reduced test case:
character a(6)
a = transfer("abcdef", a,size(a))
write(*,'(T20,A3, T1,A4, T5,A2, T7,A2, T9,A4, T17,A1)') a
end
Expected:
b c d e f a
Actual:
b c d e f
Using "character(5)" works.
(Don't forget to test also the big test case; ifort for instance passes the
test above, but writes non-printable characters (combined with "a" and " ") for
column > 135 while g95, openg95/sunf95 and NAG f95 work.)
--
burnus at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jvdelisle at gcc dot gnu dot
| |org
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Keywords| |wrong-code
Last reconfirmed|0000-00-00 00:00:00 |2008-01-14 22:38:04
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34782