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

            Bug ID: 119200
           Summary: valgrind error in gfc_format_decoder
           Product: gcc
           Version: 15.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
          Assignee: unassigned at gcc dot gnu.org
          Reporter: dcb314 at hotmail dot com
  Target Milestone: ---

Created attachment 60697
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60697&action=edit
F90 source code

>From the flang test suite at

https://github.com/llvm/llvm-project/tree/main/flang/test

file Semantics/num_images01.f90 does this

test $ ~/gcc/results.20250310.valgrind/bin/gfortran -c -w
./Semantics/num_images01.f90
==569772== Invalid read of size 4
==569772==    at 0x7C0DC0: gfc_format_decoder(pretty_printer*, text_info*, char
const*, int, bool, bool, bool, bool*, pp_token_list&) (error.cc:425)

with valgrind over gfortran.

Reply via email to