public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/49540] New: [4.6/4.7 Regression] Memory-hot with large DATA stmt
@ 2011-06-27  8:32 jakub at gcc dot gnu.org
  2011-06-27  8:34 ` [Bug fortran/49540] [4.6/4.7 Regression] Memory-hog " jakub at gcc dot gnu.org
                   ` (13 more replies)
  0 siblings, 14 replies; 15+ messages in thread
From: jakub at gcc dot gnu.org @ 2011-06-27  8:32 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49540

           Summary: [4.6/4.7 Regression] Memory-hot with large DATA stmt
           Product: gcc
           Version: 4.6.1
            Status: UNCONFIRMED
          Keywords: memory-hog
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: jakub@gcc.gnu.org


COMMON/A/B(100000,100)
      DATA B/10000000*0.0/
      END
used to compile in just a couple of MB of memory and fraction of a second, but
starting with
http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=159076
it needs over 5GB of RAM and very long time.
That is only small fragment from original real-world testcase, which contains:
      PARAMETER (MAXSTR=150001)
c...
        COMMON/HJJET2/NSG,NJSG(MAXSTR),IASG(MAXSTR,3),K1SG(MAXSTR,100),
     &       K2SG(MAXSTR,100),PXSG(MAXSTR,100),PYSG(MAXSTR,100),
     &       PZSG(MAXSTR,100),PESG(MAXSTR,100),PMSG(MAXSTR,100)
c...
        DATA NSG/0/,NJSG/150001*0/,IASG/450003*0/,
     &       K1SG/15000100*0/,K2SG/15000100*0/,
     &       PXSG/15000100*0.0/,PYSG/15000100*0.0/,PZSG/15000100*0.0/,
     &       PESG/15000100*0.0/,PMSG/15000100*0.0/
c...
      END
c...
which compiled just fine with gcc up to 4.5.x and with 4.6/4.7 it is basically
out of any hope to compile it.


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

end of thread, other threads:[~2011-07-04 21:18 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-06-27  8:32 [Bug fortran/49540] New: [4.6/4.7 Regression] Memory-hot with large DATA stmt jakub at gcc dot gnu.org
2011-06-27  8:34 ` [Bug fortran/49540] [4.6/4.7 Regression] Memory-hog " jakub at gcc dot gnu.org
2011-06-27  8:35 ` jakub at gcc dot gnu.org
2011-06-27 15:53 ` burnus at gcc dot gnu.org
2011-06-27 16:25 ` burnus at gcc dot gnu.org
2011-06-27 16:26 ` jakub at gcc dot gnu.org
2011-06-27 17:12 ` burnus at gcc dot gnu.org
2011-06-27 17:23 ` burnus at gcc dot gnu.org
2011-06-28  9:00 ` adrian.sevcenco at cern dot ch
2011-06-28 12:20 ` burnus at gcc dot gnu.org
2011-06-29 16:55 ` jakub at gcc dot gnu.org
2011-06-30 10:26 ` jakub at gcc dot gnu.org
2011-06-30 13:56 ` [Bug fortran/49540] [4.6 " jakub at gcc dot gnu.org
2011-07-04 21:08 ` jakub at gcc dot gnu.org
2011-07-04 21:18 ` jakub at gcc dot gnu.org

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