[gfortran,patch] Fix NEW_LINE simplification
Jerry DeLisle
jvdelisle@verizon.net
Sun May 6 22:46:00 GMT 2007
FX Coudert wrote:
> Attached one-line (+ whitespace) patch fixes an ICE on codes using
> NEW_LINE for non constant arguments. NEW_LINE can be simplified in the
> front-end for all character variables, since it only depends on the
> character kind of its argument. This lack of simplification triggered
> the ICE down in the code generation.
>
> Bootstrapped and regtested on i686-linux, OK for mainline?
>
> FX
>
>
>
> :ADDPATCH fortran:
>
> 2007-05-07 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
>
> PR fortran/31764
> * simplify.c (gfc_simplify_new_line): NEW_LINE can be simplified
> even for non constant arguments.
>
>
> 2007-05-07 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
>
> PR fortran/31764
> * gfortran.dg/new_line.f90: Add new checks.
>
OK, thanks!
Jerry
More information about the Fortran
mailing list