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 report - Limit of 125 ELSEIFs


! Dear gcc team,
! Here is a new (?) bug in g77, as of :
! gcc -v
! Reading specs from /usr/local/lib/gcc-lib/i686-pc-linux-gnu/2.95.2/specs
! gcc version 2.95.2 19991024 (release)
! g77 -v
! g77 version 2.95.2 19991024 (release) (from FSF-g77 version 0.5.25 19991024 (release))
!
! Try compiling this code and it will compile OK, but if you un-comment any 
! more elseif clauses, you'll get no compilation :
!
! f77 -c bugfile.f
! ../../../gcc-2.95.2/gcc/f/stw.c:308: failed assertion `b->uses_ > 0'
! g77: Internal compiler error: program f771 got fatal signal 6
!
! This is running under RedHat6.1 on a Pentium
!
! There seems to be a limit of 125 else if clauses....
! Thought you'd like to know,
! Jonathan Ravens  J.Ravens@gns.cri.nz
!

        if (ix.eq.  1) then
            call sub001 (ix)
        else if (ix.eq.  2) then
            call sub002 (ix)
        else if (ix.eq.  3) then
            call sub003 (ix)
        else if (ix.eq.  4) then
            call sub004 (ix)
        else if (ix.eq.  5) then
            call sub005 (ix)
        else if (ix.eq.  6) then
            call sub006 (ix)
        else if (ix.eq.  7) then
            call sub007 (ix)
        else if (ix.eq.  8) then
            call sub008 (ix)
        else if (ix.eq.  9) then
            call sub009 (ix)
        else if (ix.eq. 10) then
            call sub010 (ix)
        else if (ix.eq. 11) then
            call sub011 (ix)
        else if (ix.eq. 12) then
            call sub012 (ix)
        else if (ix.eq. 13) then
            call sub013 (ix)
        else if (ix.eq. 14) then
            call sub014 (ix)
        else if (ix.eq. 15) then
            call sub015 (ix)
        else if (ix.eq. 16) then
            call sub016 (ix)
        else if (ix.eq. 17) then
            call sub017 (ix)
        else if (ix.eq. 18) then
            call sub018 (ix)
        else if (ix.eq. 19) then
            call sub019 (ix)
        else if (ix.eq. 20) then
            call sub020 (ix)
        else if (ix.eq. 21) then
            call sub021 (ix)
        else if (ix.eq. 22) then
            call sub022 (ix)
        else if (ix.eq. 23) then
            call sub023 (ix)
        else if (ix.eq. 24) then
            call sub024 (ix)
        else if (ix.eq. 25) then
            call sub025 (ix)
        else if (ix.eq. 26) then
            call sub026 (ix)
        else if (ix.eq. 27) then
            call sub027 (ix)
        else if (ix.eq. 28) then
            call sub028 (ix)
        else if (ix.eq. 29) then
            call sub029 (ix)
        else if (ix.eq. 30) then
            call sub030 (ix)
        else if (ix.eq. 31) then
            call sub031 (ix)
        else if (ix.eq. 32) then
            call sub032 (ix)
        else if (ix.eq. 33) then
            call sub033 (ix)
        else if (ix.eq. 34) then
            call sub034 (ix)
        else if (ix.eq. 35) then
            call sub035 (ix)
        else if (ix.eq. 36) then
            call sub036 (ix)
        else if (ix.eq. 37) then
            call sub037 (ix)
        else if (ix.eq. 38) then
            call sub038 (ix)
        else if (ix.eq. 39) then
            call sub039 (ix)
        else if (ix.eq. 40) then
            call sub040 (ix)
        else if (ix.eq. 41) then
            call sub041 (ix)
        else if (ix.eq. 42) then
            call sub042 (ix)
        else if (ix.eq. 43) then
            call sub043 (ix)
        else if (ix.eq. 44) then
            call sub044 (ix)
        else if (ix.eq. 45) then
            call sub045 (ix)
        else if (ix.eq. 46) then
            call sub046 (ix)
        else if (ix.eq. 47) then
            call sub047 (ix)
        else if (ix.eq. 48) then
            call sub048 (ix)
        else if (ix.eq. 49) then
            call sub049 (ix)
        else if (ix.eq. 50) then
            call sub050 (ix)
        else if (ix.eq. 51) then
            call sub051 (ix)
        else if (ix.eq. 52) then
            call sub052 (ix)
        else if (ix.eq. 53) then
            call sub053 (ix)
        else if (ix.eq. 54) then
            call sub054 (ix)
        else if (ix.eq. 55) then
            call sub055 (ix)
        else if (ix.eq. 56) then
            call sub056 (ix)
        else if (ix.eq. 57) then
            call sub057 (ix)
        else if (ix.eq. 58) then
            call sub058 (ix)
        else if (ix.eq. 59) then
            call sub059 (ix)
        else if (ix.eq. 60) then
            call sub060 (ix)
        else if (ix.eq. 61) then
            call sub061 (ix)
        else if (ix.eq. 62) then
            call sub062 (ix)
        else if (ix.eq. 63) then
            call sub063 (ix)
        else if (ix.eq. 64) then
            call sub064 (ix)
        else if (ix.eq. 65) then
            call sub065 (ix)
        else if (ix.eq. 66) then
            call sub066 (ix)
        else if (ix.eq. 67) then
            call sub067 (ix)
        else if (ix.eq. 68) then
            call sub068 (ix)
        else if (ix.eq. 69) then
            call sub069 (ix)
        else if (ix.eq. 70) then
            call sub070 (ix)
        else if (ix.eq. 71) then
            call sub071 (ix)
        else if (ix.eq. 72) then
            call sub072 (ix)
        else if (ix.eq. 73) then
            call sub073 (ix)
        else if (ix.eq. 74) then
            call sub074 (ix)
        else if (ix.eq. 75) then
            call sub075 (ix)
        else if (ix.eq. 76) then
            call sub076 (ix)
        else if (ix.eq. 77) then
            call sub077 (ix)
        else if (ix.eq. 78) then
            call sub078 (ix)
        else if (ix.eq. 79) then
            call sub079 (ix)
        else if (ix.eq. 80) then
            call sub080 (ix)
        else if (ix.eq. 81) then
            call sub081 (ix)
        else if (ix.eq. 82) then
            call sub082 (ix)
        else if (ix.eq. 83) then
            call sub083 (ix)
        else if (ix.eq. 84) then
            call sub084 (ix)
        else if (ix.eq. 85) then
            call sub085 (ix)
        else if (ix.eq. 86) then
            call sub086 (ix)
        else if (ix.eq. 87) then
            call sub087 (ix)
        else if (ix.eq. 88) then
            call sub088 (ix)
        else if (ix.eq. 89) then
            call sub089 (ix)
        else if (ix.eq. 90) then
            call sub090 (ix)
        else if (ix.eq. 91) then
            call sub091 (ix)
        else if (ix.eq. 92) then
            call sub092 (ix)
        else if (ix.eq. 93) then
            call sub093 (ix)
        else if (ix.eq. 94) then
            call sub094 (ix)
        else if (ix.eq. 95) then
            call sub095 (ix)
        else if (ix.eq. 96) then
            call sub096 (ix)
        else if (ix.eq. 97) then
            call sub097 (ix)
        else if (ix.eq. 98) then
            call sub098 (ix)
        else if (ix.eq. 99) then
            call sub099 (ix)
        else if (ix.eq.100) then
            call sub100 (ix)
        else if (ix.eq.101) then
            call sub101 (ix)
        else if (ix.eq.102) then
            call sub102 (ix)
        else if (ix.eq.103) then
            call sub103 (ix)
        else if (ix.eq.104) then
            call sub104 (ix)
        else if (ix.eq.105) then
            call sub105 (ix)
        else if (ix.eq.106) then
            call sub106 (ix)
        else if (ix.eq.107) then
            call sub107 (ix)
        else if (ix.eq.108) then
            call sub108 (ix)
        else if (ix.eq.109) then
            call sub109 (ix)
        else if (ix.eq.110) then
            call sub110 (ix)
        else if (ix.eq.111) then
            call sub111 (ix)
        else if (ix.eq.112) then
            call sub112 (ix)
        else if (ix.eq.113) then
            call sub113 (ix)
        else if (ix.eq.114) then
            call sub114 (ix)
        else if (ix.eq.115) then
            call sub115 (ix)
        else if (ix.eq.116) then
            call sub116 (ix)
        else if (ix.eq.117) then
            call sub117 (ix)
        else if (ix.eq.118) then
            call sub118 (ix)
        else if (ix.eq.119) then
            call sub119 (ix)
        else if (ix.eq.120) then
            call sub120 (ix)
        else if (ix.eq.121) then
            call sub121 (ix)
        else if (ix.eq.122) then
            call sub122 (ix)
        else if (ix.eq.123) then
            call sub123 (ix)
        else if (ix.eq.124) then
            call sub124 (ix)
        else if (ix.eq.125) then
            call sub125 (ix)
c        else if (ix.eq.126) then
c            call sub126 (ix)
c        else if (ix.eq.127) then
c            call sub127 (ix)
c        else if (ix.eq.128) then
c            call sub128 (ix)
c        else if (ix.eq.129) then
c            call sub129 (ix)
c        else if (ix.eq.130) then
c            call sub130 (ix)
c        else if (ix.eq.131) then
c            call sub131 (ix)
c        else if (ix.eq.132) then
c            call sub132 (ix)
c        else if (ix.eq.133) then
c            call sub133 (ix)
c        else if (ix.eq.134) then
c            call sub134 (ix)
c        else if (ix.eq.135) then
c            call sub135 (ix)
        end if

        end

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