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

--- Comment #18 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Paul Thomas <[email protected]>:

https://gcc.gnu.org/g:947b22d9d0622f4a1bf7476f76f17b0d48201c4e

commit r16-4098-g947b22d9d0622f4a1bf7476f76f17b0d48201c4e
Author: Paul Thomas <[email protected]>
Date:   Fri Sep 26 07:30:07 2025 +0100

    Fortran: Fix uninitialized reads for pdt_13.f03 etc. [PR122002]

    2025-09-26  Harald Anlauf  <[email protected]>

    gcc/fortran
            PR fortran/122002
            * decl.cc (gfc_get_pdt_instance): Initialize 'instance' to NULL
            and set 'kind_value' to zero before calling gfc_extract_int.
            * primary.cc (gfc_match_rvalue): Intitialize 'ctr_arglist' to
            NULL and test for default values if gfc_get_pdt_instance
            returns NULL.

Reply via email to