This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: [Bug fortran/11141] [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.