This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

g77 bug


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




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]