[Bug fortran/24176] gfortran segfaults on empty source
pinskia at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Mon Oct 3 15:48:00 GMT 2005
------- Comment #1 from pinskia at gcc dot gnu dot org 2005-10-03 15:48 -------
Confirmed:
487 if (gfc_option.warn_line_truncation
488 && gfc_current_locus.lb->truncated)
489 gfc_warning_now ("Line truncated at %C");
Looks like caused by:
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.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |rguenth at gcc dot gnu dot
| |org
Last reconfirmed|0000-00-00 00:00:00 |2005-10-03 15:48:38
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24176
More information about the Gcc-bugs
mailing list