[patch, libgfortran] Initailize some variable to get rid of nuisance warnings.

Thomas Koenig tkoenig@netcologne.de
Mon Feb 27 06:30:21 GMT 2023


Hi Jerry,


> I should have clarified in my posts that the warnings are on the use of 
> sstride[0], mstride[0] or both.


> In a sense it is a 
> regression. It showed up when builds started to use -Wmaybe-unitialized.

I think this is OK for trunk now, and backport for up to whenever
-Wmaybe-uninitialized was introduced into the build.

The "regression-only" rule is mostly motivated by not introducing
new bugs (and for Fortran, we have a bit of leeway), and I would
be hard to pressed to think of a patch less likely to introduce
regressions.

Thanks for the patch!

Best regards

	Thomas



More information about the Fortran mailing list