On Tue, Sep 09, 2025 at 09:19:28PM +0200, Harald Anlauf wrote:
> > This broke bootstrap on FreeBSD where warning.
> > 
> > 
> > In function 'tree_node* conv_intrinsic_fstat_lstat_stat_sub(gfc_code*)',
> >      inlined from 'tree_node* gfc_conv_intrinsic_subroutine(gfc_code*)' at 
> > ../../gccx/gcc/fortran/trans-intrinsic.cc:13477:49:
> > ../../gccx/gcc/fortran/trans-intrinsic.cc:5964:31: error: 'unit' may be 
> > used uninitialized [-Werror=maybe-uninitialized]
> >   5964 |     tmp = build_call_expr_loc (input_location, tmp, 3, unit, vals,
> >        |           ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> >   5965 |                                stat ? arg3 : null_pointer_node);
> > 
> 
> Does the attached work for you?

I made the change that you sent, and it has gotten
me passed the error.  Bootstrap and regression testing
will take about an hour to complete.

-- 
Steve

Reply via email to