g77 bug
Steven G. Johnson
stevenj@alum.mit.edu
Thu Jun 4 20:58:00 GMT 1998
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
More information about the Gcc-bugs
mailing list