g77 problems

craig@jcb-sc.com craig@jcb-sc.com
Fri Apr 30 23:15:00 GMT 1999


Now fixed (in egcs 1.2 development sources).  Was basically an
unitialized-variable bug.  Thanks for the report!

        tq vm, (burley)


>The first "result" of May's LinuxExpo g77 BoF (sent in by Alexander
>Belikoff):
>
>      INTEGER    FOO_BIF_TREE, FOO_SBL_TIME, FOO_SBL_FIXED
>
>      PARAMETER (FOO_BIF_TREE=1, FOO_SBL_TIME=2, FOO_SBL_FIXED=3)
>
>
>      integer*2 foosiz
>      parameter (foosiz = 5)
>
>      logical*2 foo(foosiz)
>
>
>      DATA foo /foosiz*.false./
>
>      STOP
>      END
>/usr/snp/bin/g77 g77fail2.f
>g77fail2.f: In program `MAIN__':
>g77fail2.f:9: 
>         DATA foo /foosiz*.false./
>                   ^
>Too many initial values in list of initializers starting at (^)
>
>with egcs CVS'd this afternoon.  Removing the initial INTEGER /
>PARAMETER definitions makes this problem disappear (ugh !).



More information about the Gcc-bugs mailing list