1 C To: egcs-bugs@cygnus.com
2 C Subject: egcs-g77 and array indexing
3 C Reply-To: etseidl@jutland.ca.sandia.gov
4 C Date: Wed, 26 Nov 1997 10:38:27 -0800
5 C From: Edward Seidl <etseidl@jutland.ca.sandia.gov>
7 C I have some horrible spaghetti code I'm trying compile with egcs-g77,
8 C but it's puking on code like the example below. I have no idea if it's
9 C legal fortran or not, and I'm in no position to change it. All I do know
10 C is it compiles with a number of other compilers, including f2c and
11 C g77-0.5.19.1/gcc-2.7.2.1. When I try to compile with egcs-2.90.18 971122
12 C I get the following (on both i686-pc-linux-gnu and alphaev56-unknown-linux-gnu):
14 C foo.f: In subroutine `foobar':
16 C subroutine foobar(norb,nnorb)
18 C Array `norb' at (^) is too large to handle
25 call foobar(norb,nnorb)
30 subroutine foobar(norb,nnorb)