[Bug fortran/118571] UTF-8 output and the A edit descriptor

2025-02-01 Thread kargls at comcast dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118571 --- Comment #14 from kargls at comcast dot net --- (In reply to Jerry DeLisle from comment #13) > Closing as fixed. Thanks!

[Bug fortran/118571] UTF-8 output and the A edit descriptor

2025-02-01 Thread jvdelisle at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118571 Jerry DeLisle changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug fortran/118571] UTF-8 output and the A edit descriptor

2025-01-24 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118571 --- Comment #12 from GCC Commits --- The releases/gcc-14 branch has been updated by Jerry DeLisle : https://gcc.gnu.org/g:b69eb2c594f8595718d876dc9811e3820eb68da1 commit r14-11246-gb69eb2c594f8595718d876dc9811e3820eb68da1 Author: Jerry DeLisle

[Bug fortran/118571] UTF-8 output and the A edit descriptor

2025-01-24 Thread kargls at comcast dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118571 --- Comment #11 from kargls at comcast dot net --- On 1/24/25 09:26, jvdelisle at gcc dot gnu.org wrote: > --- Comment #10 from Jerry DeLisle --- > Do we need a backport of this? > I'll leave that decision up to you. It is a fairly concise p

[Bug fortran/118571] UTF-8 output and the A edit descriptor

2025-01-24 Thread jvdelisle at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118571 Jerry DeLisle changed: What|Removed |Added Last reconfirmed||2025-01-24 Status|UNCONFIRM

[Bug fortran/118571] UTF-8 output and the A edit descriptor

2025-01-24 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118571 --- Comment #9 from GCC Commits --- The master branch has been updated by Jerry DeLisle : https://gcc.gnu.org/g:4daf088123b2c4c3114a4b96d5353c3d72eb8ac9 commit r15-7181-g4daf088123b2c4c3114a4b96d5353c3d72eb8ac9 Author: Jerry DeLisle Date: T

[Bug fortran/118571] UTF-8 output and the A edit descriptor

2025-01-23 Thread jvdelisle at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118571 --- Comment #8 from Jerry DeLisle --- Created attachment 60256 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60256&action=edit Proposed final patch This patch submitted for approval.

[Bug fortran/118571] UTF-8 output and the A edit descriptor

2025-01-21 Thread jvdelisle at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118571 --- Comment #7 from Jerry DeLisle --- If no width is specified w_len comes in as zero so we have to handle that case. diff --git a/libgfortran/io/write.c b/libgfortran/io/write.c index 54312bf67e9..15a0dd5c3e9 100644 --- a/libgfortran/io/write.

[Bug fortran/118571] UTF-8 output and the A edit descriptor

2025-01-20 Thread jvdelisle at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118571 --- Comment #6 from Jerry DeLisle --- (In reply to kargls from comment #3) > diff --git a/libgfortran/io/write.c b/libgfortran/io/write.c > index 54312bf67e9..084ac314f5c 100644 > --- a/libgfortran/io/write.c > +++ b/libgfortran/io/write.c > @@

[Bug fortran/118571] UTF-8 output and the A edit descriptor

2025-01-20 Thread kargls at comcast dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118571 --- Comment #5 from kargls at comcast dot net --- On 1/20/25 12:40, jvdelisle at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118571 > > Jerry DeLisle changed: > > What|Removed |Adde

[Bug fortran/118571] UTF-8 output and the A edit descriptor

2025-01-20 Thread jvdelisle at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118571 Jerry DeLisle changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |jvdelisle at gcc dot gnu.org

[Bug fortran/118571] UTF-8 output and the A edit descriptor

2025-01-20 Thread kargls at comcast dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118571 --- Comment #3 from kargls at comcast dot net --- (In reply to kargls from comment #2) > Tracing into libgfortran, the bug appears to be in write.c(write_utf8_char4). > In particular, the entire string is written due to line 181. The 'src_len' >

[Bug fortran/118571] UTF-8 output and the A edit descriptor

2025-01-20 Thread kargls at comcast dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118571 --- Comment #2 from kargls at comcast dot net --- Tracing into libgfortran, the bug appears to be in write.c(write_utf8_char4). In particular, the entire string is written due to line 181. The 'src_len' is likely wrong if one has an A edit descr

[Bug fortran/118571] UTF-8 output and the A edit descriptor

2025-01-20 Thread kargls at comcast dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118571 --- Comment #1 from kargls at comcast dot net --- Trimming the testcase to show to clean up the -fdump-tree-original output. program test use iso_fortran_env implicit none integer, parameter :: ucs4 = selected_char_kind('ISO_10646')