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]

Re: g77 problems


L.S.,

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 !).

-- 
Toon Moene (toon@moene.indiv.nluug.nl)
Saturnushof 14, 3738 XG  Maartensdijk, The Netherlands
Phone: +31 346 214290; Fax: +31 346 214286
g77 Support: fortran@gnu.org; egcs: egcs-bugs@cygnus.com


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