https://gcc.gnu.org/g:7949e901b3598e14269e0ad942d41b16fe7f7ea0
commit 7949e901b3598e14269e0ad942d41b16fe7f7ea0 Author: Mikael Morin <mik...@gcc.gnu.org> Date: Fri Dec 6 22:27:47 2024 +0100 Silence uninitialized warning. Diff: --- gcc/fortran/trans-intrinsic.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/fortran/trans-intrinsic.cc b/gcc/fortran/trans-intrinsic.cc index c155a7a268f2..25ad86c8195b 100644 --- a/gcc/fortran/trans-intrinsic.cc +++ b/gcc/fortran/trans-intrinsic.cc @@ -11967,7 +11967,7 @@ static gfc_ss * nest_loop_dimension (gfc_ss *ss, int dim) { int ss_dim, i; - gfc_ss *new_ss, *prev_ss = gfc_ss_terminator; + gfc_ss *new_ss = nullptr, *prev_ss = gfc_ss_terminator; gfc_loopinfo *new_loop; gcc_assert (ss != gfc_ss_terminator);