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

            Bug ID: 119199
           Summary: valgrind error in translate_common
           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 60696
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60696&action=edit
F90 source code

For the F90 source code file Semantics/blockconstruct02.f90 
from the flang testsuite at 

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

Recent gfortran does this:

test $ ~/gcc/results.20250310.valgrind/bin/gfortran -c -w
./Semantics/blockconstruct02.f90
==19760== Invalid read of size 1
==19760==    at 0x8C7902: translate_common(gfc_common_head*, gfc_symbol*)
(trans-common.cc:1221)

Reply via email to