Re: [PATCH] Fortran : ICE in gfc_conv_scalarized_array_ref PR53298

2020-07-28 Thread Thomas Koenig via Gcc-patches
Hi Mark, Please find attached a fix for PR53298. OK. Thanks for the patch! Regards Thomas

Re: [PATCH] Fortran : ICE in gfc_conv_scalarized_array_ref PR53298

2020-07-28 Thread Mark Eggleston
ping On 20/07/2020 08:27, Mark Eggleston wrote: Please find attached a fix for PR53298. This appears to be a very simple fix, however, since it involves structures I'm unfamiliar with I think it needs checking. When the gfc_ref structure is created for a (1:) substring it has an expression

[PATCH] Fortran : ICE in gfc_conv_scalarized_array_ref PR53298

2020-07-20 Thread Mark Eggleston
00:00 2001 From: Mark Eggleston Date: Fri, 17 Jul 2020 14:22:48 +0100 Subject: [PATCH] Fortran : ICE in gfc_conv_scalarized_array_ref PR53298 When an array of characters is an argument to a subroutine and is accessed using (:)(1:) an ICE occurs. The upper bound of the substring does not have an expre