This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
g77 - SELECT CASE
- To: gcc-bugs at gcc dot gnu dot org
- Subject: g77 - SELECT CASE
- From: "Wolfram Anschuetz" <wansch at srt dot tu-darmstadt dot de>
- Date: Fri, 30 Jun 2000 11:29:09 +0200
- Organization: SRT TU-Darmstadt
- Reply-to: wansch at srt dot tu-darmstadt dot de
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