Re: [Fortran, Patch, PR119106, v1] Allow iterator substitution in array constructors

2025-07-21 Thread Andre Vehreschild
Hi Paul, thanks for review. Committed as gcc-16-2372-g3a7fcf4f54e. The issue is also present on gcc-15 and 14. I would backport this to gcc-15 in a week, if no one objects! Thanks again, Andre On Fri, 18 Jul 2025 16:35:51 +0100 Paul Richard Thomas wrote: > Hi Andre, > > After a false

Re: [Fortran, Patch, PR119106, v1] Allow iterator substitution in array constructors

2025-07-18 Thread Paul Richard Thomas
Hi Andre, After a false start, the patch was applied to mainline, did what it was supposed to do and regtests fine. Ok for mainline. Thanks Paul On Fri, 18 Jul 2025 at 13:42, Andre Vehreschild wrote: > Hi all, hi Harald, > > attached patch fixes a runtime out-of-bounds error when an iterato

[Fortran, Patch, PR119106, v1] Allow iterator substitution in array constructors

2025-07-18 Thread Andre Vehreschild
Hi all, hi Harald, attached patch fixes a runtime out-of-bounds error when an iterator of an implied do-loop was not substituted as expected. The resulting code would still use the uninitialized iterator variable which then lead to out-of-bounds accesses. Harald, I did not look at the patch you p