[PATCH] Fix PR14569
Richard Guenther
rguenth@tat.physik.uni-tuebingen.de
Fri Apr 15 19:59:00 GMT 2005
Removes line truncation warnings for comment lines and adds correct
location information to the remaining ones.
Bootstrapped and regtested on x86_64-unknown-linux-gnu.
Ok for mainline and branch once it re-opens?
Thanks,
Richard.
2005-04-15 Richard Guenther <rguenth@gcc.gnu.org>
PR fortran/14569
* gfortran.h (gfc_linebuf): Add truncated field.
* parse.c (next_statement): Handle warning for truncated
lines.
* scanner.c (load_line): Return if line was truncated.
No longer warn for truncated lines. Remove unused parameters.
(load_file): Store load_line return value to linebuf.
(gfc_error_recovery): Do not advance line at the end.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: gfortran-warn-truncate
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20050415/ec0d7c18/attachment.ksh>
More information about the Gcc-patches
mailing list