This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/24176] gfortran segfaults on empty source
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 3 Oct 2005 15:48:39 -0000
- Subject: [Bug fortran/24176] gfortran segfaults on empty source
- References: <bug-24176-10259@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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