This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
g77 bug
- To: egcs-bugs at cygnus dot com
- Subject: g77 bug
- From: "Steven G. Johnson" <stevenj at alum dot mit dot edu>
- Date: Thu, 4 Jun 1998 23:58:29 -0400
There appears to be a bug in g77. I have narrowed it down to a minimal
test program:
subroutine buggy(bad)
integer bad(-14:*)
end
Upon compilation with g77 (--version: egcs-2.90.29 980515 (egcs-1.0.3
release)), the following error message is printed.
bug.f: In subroutine `buggy':
bug.f:1:
subroutine buggy(bad)
^
Array `bad' at (^) is too large to handle
The same code compiles successfully with other Fortran compilers, and with
a previous (pre-egcs) version of g77.
Cordially,
Steven G. Johnson