On Wed, Dec 07, 2022 at 09:57:20PM +0100, Harald Anlauf via Fortran wrote: > Dear all, > > we need to be careful about zero-sized arrays in arithmetic > reductions (unary & binary), as we otherwise may hit a NULL > pointer dereference on valid code. > > The actual fix is straightforward, see attached patch. > > Regtested on x86_64-pc-linux-gnu. OK for mainline? >
Yes. Thanks for the patch. -- Steve