This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/66499] New: Letters with accents change format behavior for X and T descriptors.
- From: "tbrego at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 11 Jun 2015 01:56:18 +0000
- Subject: [Bug fortran/66499] New: Letters with accents change format behavior for X and T descriptors.
- Auto-submitted: auto-generated
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66499
Bug ID: 66499
Summary: Letters with accents change format behavior for X and
T descriptors.
Product: gcc
Version: 4.8.3
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: fortran
Assignee: unassigned at gcc dot gnu.org
Reporter: tbrego at gmail dot com
Target Milestone: ---
When use letters with accents change the position for tabbing (T) and
horizontal (X).
Example: test_char.f95
program test_character
real:: a
character(len=30):: char1, char2
a = 10
char1 = "Test without local char"
char2 = "Test with local char ÃÃ"
10 format(2X, A, T40, f10.4)
write(*,10) char1, a
write(*,10) char2, a
end program
Output:
Test without local char 10.0000
Test with local char ÃÃ 10.0000
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Gap two position (one for each letter).