https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121561

            Bug ID: 121561
           Summary: "A" field descriptor does not work with multi-byte
                    characters
           Product: gcc
           Version: 15.0
            Status: WAITING
          Severity: normal
          Priority: P3
         Component: fortran
          Assignee: unassigned at gcc dot gnu.org
          Reporter: urbanjost at comcast dot net
                CC: jvdelisle at gcc dot gnu.org
  Target Milestone: ---
    Ever confirmed: 1
  Last reconfirmed: 2025-08-15
                CC: jvdelisle at gcc dot gnu.org
            Status: WAITING

Created attachment 62123
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=62123&action=edit
replicator that shows improper formatting

I expect the "A" field descriptor to work with multi-byte UCS-4
characters. A think the output using the alpha and beta characters
should look like the ASCII-7-bit output accept substituting α for A
and β for B.

|ABAB|
|A|
|AB|
|ABA|
|ABAB|
| ABAB|
|  ABAB|
|   ABAB|
|    ABAB|
|     ABAB|
|      ABAB|
|       ABAB|
|αβαβ|
|αβαβ|
|αβαβ|
|αβαβ|
|αβαβ|
| βαβ|
|  αβ|
|   β|
|    |
|     |
|      |
|       |

--- Comment #1 from Jerry DeLisle <jvdelisle at gcc dot gnu.org> ---
The attachement does not have the code, only the output.

Reply via email to