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