Re: [Patch, fortran] PR93581 - [9/10 Regression] ICE in gfc_get_dataptr_offset, at fortran/trans-array.c:6951

2020-03-08 Thread Thomas Koenig via Gcc-patches
Hi Paul, ***ping*** OK. Thanks for the patch! Regards Thomas

Re: [Patch, fortran] PR93581 - [9/10 Regression] ICE in gfc_get_dataptr_offset, at fortran/trans-array.c:6951

2020-03-08 Thread Paul Richard Thomas
***ping*** On Sun, 1 Mar 2020 at 16:00, Paul Richard Thomas wrote: > > This is a straightforward patch, especially for the bug in the PR! The > additional fix ensures that expr%LEN always returns a scalar. Please > note the comment in resolve.c about bounds checking. > > Regtests on trunk - OK

[Patch, fortran] PR93581 - [9/10 Regression] ICE in gfc_get_dataptr_offset, at fortran/trans-array.c:6951

2020-03-01 Thread Paul Richard Thomas
This is a straightforward patch, especially for the bug in the PR! The additional fix ensures that expr%LEN always returns a scalar. Please note the comment in resolve.c about bounds checking. Regtests on trunk - OK for 9- and 10-branches? Paul 2020-03-01 Paul Thomas PR fortran/93581