[gfortran, PR33269] Simplify FORMAT expressions before checking them

Tobias Schlüter tobias.schlueter@physik.uni-muenchen.de
Mon Sep 24 06:29:00 GMT 2007


Now with patch attached.

Tobias Schlüter wrote:
> this patch is completely straightforward: call gfc_simplify_expr() on 
> the format string before checking its validity via 
> check_format_string().  This is done during resolutions, so the call to 
> gfc_simplify_expr() doesn't happen unduly early.  I also moved some 
> checks into check_format as they belonged there IMO.
> 
> Built and tested on i386-darwin with clean testsuite runs except for the 
> known do_3.f90 failures and the ones I mentioned in my earlier mail.  Ok?
> 
> Cheers,
> - Tobi
> 

:ADDPATCH fortran:
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: pr33269.diff.txt
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20070924/c6936c8a/attachment.txt>


More information about the Gcc-patches mailing list