Re: [patch, fortran] Fix ice-on-valid PR 48876

2011-07-30 Thread Thomas Koenig
Hello Steve, On Sat, Jul 30, 2011 at 01:49:42PM +0200, Thomas Koenig wrote: Hello world, the attached, rather self-explanatory patch fixes PR 48876. OK for trunk? Yes. If the problem exists on 4.6, can you apply the patch to 4.6 as well. Applied to trunk and 4.6 (this was not a regressi

Re: [patch, fortran] Fix ice-on-valid PR 48876

2011-07-30 Thread Steve Kargl
On Sat, Jul 30, 2011 at 01:49:42PM +0200, Thomas Koenig wrote: > Hello world, > > the attached, rather self-explanatory patch fixes PR 48876. > > OK for trunk? > Yes. If the problem exists on 4.6, can you apply the patch to 4.6 as well. -- Steve

[patch, fortran] Fix ice-on-valid PR 48876

2011-07-30 Thread Thomas Koenig
Hello world, the attached, rather self-explanatory patch fixes PR 48876. OK for trunk? Thomas 2011-07-30 Thomas Koenig PR fortran/48876 * expr.c (gfc_simplify_expr): If end of a string is less than zero, set it to zero. 2011-07-30 Thomas Koenig