public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* G77 problem and help needed
@ 2001-02-24 10:25 Martin Gruenewald
  2001-02-24 14:18 ` Alexandre Oliva
  0 siblings, 1 reply; 10+ messages in thread
From: Martin Gruenewald @ 2001-02-24 10:25 UTC (permalink / raw)
  To: gcc-help

Dear experts on G77;

I have three FORTRAN77 routines which do not compile with G77 version
2.91.66 - they also do not compile with a January-snapshot of GCC3:

The error messages are always the same for the three cases:



g77  -O -fno-automatic -fdollar-ok -fno-backslash             -finit-local-zero -fno-second-underscore -fugly-logint             -ftypeless-boz -fno-f90 -fugly-complex -c xsectfit.f
xsectfit.f: In block-data `xsect_fit':
xsectfit.f:8: warning:
         DATA XSECTFIT_LN(1) /"Begin:data_xsect.fit"/
                              ^
Initialization of large (4592500-unit) aggregate area `xsectfit_ln' at (^) currently very slow and takes lots of memory during g77 compile -- to be improved in 0.6
xsectfit.f:7: warning:
         COMMON /XSECTFIT / XSECTFIT_LN
                 ^
Initialization of large (4592500-unit) aggregate area `xsectfit' at (^) currently very slow and takes lots of memory during g77 compile -- to be improved in 0.6
xsectfit.f:5566: virtual memory exhausted



g77  -O -fno-automatic -fdollar-ok -fno-backslash             -finit-local-zero -fno-second-underscore -fugly-logint             -ftypeless-boz -fno-f90 -fugly-complex -c wtmxsmp1.f
wtmxsmp1.f: In block-data `wtmx_smp1':
wtmxsmp1.f:8: warning:
         DATA WTMXSMP1_LN(1) /"Begin:data_wtmax.fit.smp1"/
                              ^
Initialization of large (4093606-unit) aggregate area `wtmxsmp1_ln' at (^) currently very slow and takes lots of memory during g77 compile -- to be improved in 0.6
wtmxsmp1.f:7: warning:
         COMMON /WTMXSMP1 / WTMXSMP1_LN
                 ^
Initialization of large (4093606-unit) aggregate area `wtmxsmp1' at (^) currently very slow and takes lots of memory during g77 compile -- to be improved in 0.6
wtmxsmp1.f:5140: virtual memory exhausted




g77  -O -fno-automatic -fdollar-ok -fno-backslash             -finit-local-zero -fno-second-underscore -fugly-logint             -ftypeless-boz -fno-f90 -fugly-complex -c wtmxsmp2.f
wtmxsmp2.f: In block-data `wtmx_smp2':
wtmxsmp2.f:8: warning:
         DATA WTMXSMP2_LN(1) /"Begin:data_wtmax.fit.smp2"/
                              ^
Initialization of large (4079764-unit) aggregate area `wtmxsmp2_ln' at (^) currently very slow and takes lots of memory during g77 compile -- to be improved in 0.6
wtmxsmp2.f:7: warning:
         COMMON /WTMXSMP2 / WTMXSMP2_LN
                 ^
Initialization of large (4079764-unit) aggregate area `wtmxsmp2' at (^) currently very slow and takes lots of memory during g77 compile -- to be improved in 0.6
wtmxsmp2.f:5139: virtual memory exhausted



All three routines are rather long BLOCKDATA routines. While the
compiler warns about large aggregate areas, it should still at least
compile them, rather than abort.  After all, not much complicated code
is needed to stuff some data somewhere, I would think.

Anyway, I would appreciate a set of G77 options with which I could
compile these routines (as I can do with the native f77 compilers
under HP-UX and SGI/IRIX). It seems to be "legal" FORTRAN, so G77
should compile it!


You can pick up the offending code at:

http://l3www.cern.ch/homepages/gruenew/wtmxsmp1.f
http://l3www.cern.ch/homepages/gruenew/wtmxsmp2.f 
http://l3www.cern.ch/homepages/gruenew/xsectfit.f


Thanks and best regards

Martin


--

Martin W. Gruenewald                   Humboldt University Berlin (HUB)
http://l3www.cern.ch/homepages/gruenew/welcome.html

CERN EP/L3 32-2C07                     e-mail: Martin.Grunewald@cern.ch
CH-1211 Geneva 23                      Phone:  ++41-22-76 79927, 79875, 74477
Switzerland                            Fax:    ++41-22-78 28923

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2001-02-26  0:18 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-02-24 10:25 G77 problem and help needed Martin Gruenewald
2001-02-24 14:18 ` Alexandre Oliva
2001-02-24 14:42   ` Martin Gruenewald
2001-02-24 14:51     ` Alexandre Oliva
2001-02-24 14:57       ` Martin Gruenewald
2001-02-24 15:11         ` Alexandre Oliva
2001-02-25  5:30     ` Toon Moene
2001-02-25  9:28       ` Martin Gruenewald
2001-02-25 14:06         ` Toon Moene
2001-02-26  0:18           ` Martin Gruenewald

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).