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 fortran/66499] New: Letters with accents change format behavior for X and T descriptors.


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

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