Re: [patch, fortran] Fix empty substrings when simplifying

2018-03-24 Thread Thomas Koenig
Am 24.03.2018 um 16:18 schrieb Jerry DeLisle: On 03/24/2018 05:46 AM, Thomas Koenig wrote: Hell world, the attached patch is fairly self-explanatory, it fixes an out-of-memory condition. Regression-tested. OK for trunk? Yes, and thanks for fix. Committed as r258835, with Steve's observati

Re: [patch, fortran] Fix empty substrings when simplifying

2018-03-24 Thread Steve Kargl
On Sat, Mar 24, 2018 at 01:46:43PM +0100, Thomas Koenig wrote: > program p >integer :: i >character(3), parameter :: x(3) = ['abc', 'ijk', 'xyz'] >character(3) :: y(2) >character(99), parameter :: x2(2) = ' ' >character(99), parameter :: y2=x(2)(99:1) >y = [(x(i)(i:1), i=2,3

Re: [patch, fortran] Fix empty substrings when simplifying

2018-03-24 Thread Jerry DeLisle
On 03/24/2018 05:46 AM, Thomas Koenig wrote: Hell world, the attached patch is fairly self-explanatory, it fixes an out-of-memory condition. Regression-tested. OK for trunk? Yes, and thanks for fix. Jerry