Hi Paul,
Am 28.11.24 um 13:55 schrieb Paul Richard Thomas:
Hi Harald,
I'll wait until tomorrow to see if Paul intervenes. Otherwise I will
proceed and push.
I succeeded in breaking things even more! Please proceed and push.
I'm sort of glad you failed, too! ;-)
Pushed as r15-5766 .
Note that the patch does not touch the following, probably more common
cases, where one index is just an (ordinary or implied-do) variable:
write(*,*) 'line 4:',(array(:,j), j=sort_2(i(1:2)),sort_2(i(1:2)))
write(*,*) 'line 5:',(array(:,j), j=1,int (2-sort_2(i(1:2))))
These still get optimized and use _gfortran_transfer_array_write .
Thanks,
Harald
Thanks
Paul