Fwd: [PATCH v2 0/3] libgfortran: empty array fixes

2023-11-07 Thread John Koval
How do I unsubscribe from messages like this one Forwarded Message Subject:Re: [PATCH v2 0/3] libgfortran: empty array fixes Date: Tue, 7 Nov 2023 19:16:46 +0100 From: Harald Anlauf To: Mikael Morin , fortran@gcc.gnu.org, gcc-patc...@gcc.gnu.org Newsgroups:

Re: [PATCH v2 0/3] libgfortran: empty array fixes

2023-11-07 Thread Harald Anlauf
Hi Mikael, this is OK. Thanks for the patches! Harald On 11/7/23 11:24, Mikael Morin wrote: Hello, Harald's review of the previous version [1] of these patches spotted a possible misbehaving case in one patch, and a latent bug in the area of the second patch. So here is the second try, boots

[PATCH v2 2/3] libgfortran: Remove early return if extent is zero [PR112371]

2023-11-07 Thread Mikael Morin
Remove the early return present in function templates for transformational functions doing a (masked) reduction of an array along a dimension. This early return, which triggered if the extent in the reduction dimension was zero, was wrong because even if the reduction operation degenerates to a con

[PATCH v2 0/3] libgfortran: empty array fixes

2023-11-07 Thread Mikael Morin
Hello, Harald's review of the previous version [1] of these patches spotted a possible misbehaving case in one patch, and a latent bug in the area of the second patch. So here is the second try, bootstraped and regression tested on x86_64-pc-linux-gnu. OK for master? Mikael [1]: https://gcc.gnu