[Bug fortran/11141] [3.4 Regression] Pre-Proccessed Source causes segmentation fault

neil@daikokuya.co.uk gcc-bugzilla@gcc.gnu.org
Tue Jun 10 20:18:00 GMT 2003


PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11141



------- Additional Comments From neil@daikokuya.co.uk  2003-06-10 20:18 -------
Subject: Re:  [3.4 Regression] Pre-Proccessed Source causes segmentation fault

pinskia@physics.uc.edu wrote:-

> ffelex_file_push_ (old_lineno=1, filename=0x40076494 "pr11141.h") at /home/gates/
> pinskia/src/gnu/gcc/src/gcc/f/lex.c:816
> 816       input_file_stack->location.line = old_lineno;
> (gdb) p input_file_stack
> $1 = (struct file_stack *) 0x0
> (gdb) bt
> #0  ffelex_file_push_ (old_lineno=1, filename=0x40076494 "pr11141.h") at /home/gates/
> pinskia/src/gnu/gcc/src/gcc/f/lex.c:816
> #1  0x0809482b in ffelex_hash_ (finput=0x8546188) at /home/gates/pinskia/src/gnu/gcc/
> src/gcc/f/lex.c:1237

This might mean it's caused by Per's recent toplev.c file stack patch.
I recall another very recent bug report which looked like having this
as a common culprit.

Neil.



More information about the Gcc-bugs mailing list