g77 - SELECT CASE
Wolfram Anschuetz
wansch@srt.tu-darmstadt.de
Fri Jun 30 02:29:00 GMT 2000
There is apparently a bug in the current version of the fortran g77
compiler. The program:
subroutine casfor ( indx1, result )
integer indx1
real *8 result
select case ( indx1 )
case ( 1 )
result = 2.d0
endselect
return
end
gives the error message
g77: Internal compiler error: program f771 got fatal signal 11
I used g77 with the command
g77 -c casfor.f
The version of the compiler was
g77 version 2.95.2 19991024
I used SuSE Linux version 6.4 on an IBM-type PC with an AMD-
processor.
The same program compiled well under the g77 of SuSe Linux 6.1
Yours sincerely,
Wolfram Anschuetz
More information about the Gcc-bugs
mailing list