https://gcc.gnu.org/g:623a0da3c31e0e11b005502a1d31325e4530c5c6

commit r16-4378-g623a0da3c31e0e11b005502a1d31325e4530c5c6
Author: Harald Anlauf <[email protected]>
Date:   Sat Oct 11 14:53:37 2025 +0200

    fortran: fix bootstrap after r16-4372 [PR122257]
    
            PR fortran/50377
            PR fortran/122257
    
    gcc/fortran/ChangeLog:
    
            * resolve.cc (resolve_actual_arglist): Initialize variable.

Diff:
---
 gcc/fortran/resolve.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gcc/fortran/resolve.cc b/gcc/fortran/resolve.cc
index 4c45de08f035..f419f5c7559f 100644
--- a/gcc/fortran/resolve.cc
+++ b/gcc/fortran/resolve.cc
@@ -2030,7 +2030,7 @@ static bool
 resolve_actual_arglist (gfc_actual_arglist *arg, procedure_type ptype,
                        bool no_formal_args)
 {
-  gfc_symbol *sym;
+  gfc_symbol *sym = NULL;
   gfc_symtree *parent_st;
   gfc_expr *e;
   gfc_component *comp;

Reply via email to