[PATCH] PR fortran/84734 -- Fix ICE on invalid code

2018-03-09 Thread Steve Kargl
In fixing PR fortran/83633, it seems the patch I committed introduced an ICE for nonsensical invalid Fortran. The attached patch cures the ICE and now (re)issues an error message. The basic problem seems to boil down to the recursive calling of gfc_simplify_expr reduces "huge(1_8)+1_8" to "cons

Re: [PATCH] PR fortran/84734 -- Fix ICE on invalid code

2018-03-09 Thread Steve Kargl
On Fri, Mar 09, 2018 at 09:13:10PM -0800, Steve Kargl wrote: > In fixing PR fortran/83633, it seems the patch I committed > introduced an ICE for nonsensical invalid Fortran. The > attached patch cures the ICE and now (re)issues an error > message. > > The basic problem seems to boil down to the