--- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-11
02:19 ---
Fixed in 4.0.2 and above by:
2005-07-07 Jakub Jelinek <[EMAIL PROTECTED]>
* scanner.c (preprocessor_line): Only set current_file->line when errors
have not been encountered. Warn and don'
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-01-10
15:47 ---
Confirmed with a couple days old compiler with the following back-trace:
#0 0x000401c8 in load_file (filename=0x423022b0 "t3.f", initial=1 '\001') at
/Users/pinskia/src/
local/gcc/gcc/fortran/scanner.c:918
--- Additional Comments From Thomas dot Koenig at online dot de 2005-01-10
15:52 ---
This is a problem with # lines.
Reduced testcase:
$ cat headerlines.f
# 557 "eri2odb.F" 2
# 1 "../include/maxorb.h" 1
end
$ gfortran headerlines.f
:0: internal compiler error: Segmentation fault
--- Additional Comments From pawsa-gpa at theochem dot kth dot se
2005-01-10 15:43 ---
Created an attachment (id=7919)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=7919&action=view)
a.f
The file that triggers the segmentation fault.
The compiler is as distributed in gcc4-gfortran