This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/30779] incomplete file triggers ICE



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]