This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/30779] incomplete file triggers ICE
- From: "jv244 at cam dot ac dot uk" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 12 Feb 2007 20:12:03 -0000
- Subject: [Bug fortran/30779] incomplete file triggers ICE
- References: <bug-30779-6642@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #2 from jv244 at cam dot ac dot uk 2007-02-12 20:12 -------
(In reply to comment #1)
> Confirmed.
>
> Backtrace:
>
> (gdb) r t.f90
> Starting program: /home/ig25/libexec/gcc/i686-pc-linux-gnu/4.3.0/f951 t.f90
> Failed to read a valid object file image from memory.
> t.f90:1:
>
> cat t.f90
> 1
> Error: Unclassifiable statement at (1)
>
> Program received signal SIGSEGV, Segmentation fault.
> 0x0809a6d7 in gfc_next_char_literal (in_string=0)
> at /home/ig25/gcc/trunk/gcc/fortran/scanner.c:711
> 711 if (gfc_current_locus.lb->linenum == continue_line + 1)
>
looks like you discovered an independent bug, in my case the 'cat t.f90' wasn't
part of the program (but it is the command line that wraps) and in my case
there is no error message.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30779