This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: g77 - SELECT CASE
- To: wansch at srt dot tu-darmstadt dot de
- Subject: Re: g77 - SELECT CASE
- From: Toon Moene <toon at moene dot indiv dot nluug dot nl>
- Date: Sat, 01 Jul 2000 10:41:04 +0200
- CC: gcc-bugs at gcc dot gnu dot org
- Organization: Moene Computational Physics, Maartensdijk, The Netherlands
- References: <395C8485.13599.2F5223@localhost>
Wolfram Anschuetz wrote:
> 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
> The version of the compiler was
> g77 version 2.95.2 19991024
Yes, fails over here in the same way. The bug has been fixed, because
the compiler from the CVS trunk compiles it correctly. Unfortunately,
it will take some time before this version becomes the next release.
--
Toon Moene - mailto:toon@moene.indiv.nluug.nl - phoneto: +31 346 214290
Saturnushof 14, 3738 XG Maartensdijk, The Netherlands
GNU Fortran 77: http://gcc.gnu.org/onlinedocs/g77_news.html
GNU Fortran 95: http://g95.sourceforge.net/ (under construction)