Re: [PATCH, v2] PR libfortran/103634 - Runtime crash with PACK on zero-sized arrays

2021-12-14 Thread Mikael Morin
Le 13/12/2021 à 21:27, Harald Anlauf via Fortran a écrit : Works better with patch attached... Am 13.12.21 um 21:25 schrieb Harald Anlauf via Gcc-patches: The code is so similar (for good reason) that it makes sense to keep it synchronous.  I added code for 'zero_sized' array with the minor di

Re: [PATCH, v2] PR libfortran/103634 - Runtime crash with PACK on zero-sized arrays

2021-12-13 Thread Harald Anlauf via Gcc-patches
Works better with patch attached... Am 13.12.21 um 21:25 schrieb Harald Anlauf via Gcc-patches: Hi Mikael, Am 09.12.21 um 21:37 schrieb Mikael Morin: Hello, On 09/12/2021 21:05, Harald Anlauf via Fortran wrote: Dear all, I had thought that we had fixed this in the past (see PR31001), but it

[PATCH, v2] PR libfortran/103634 - Runtime crash with PACK on zero-sized arrays

2021-12-13 Thread Harald Anlauf via Gcc-patches
Hi Mikael, Am 09.12.21 um 21:37 schrieb Mikael Morin: Hello, On 09/12/2021 21:05, Harald Anlauf via Fortran wrote: Dear all, I had thought that we had fixed this in the past (see PR31001), but it did fail for me with all gcc versions I have tried (7-12) for a slightly more elaborate case as i