public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/47267] New: array constructor causing long compile times
@ 2011-01-12 10:18 Joost.VandeVondele at pci dot uzh.ch
  2011-01-12 10:24 ` [Bug fortran/47267] " Joost.VandeVondele at pci dot uzh.ch
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: Joost.VandeVondele at pci dot uzh.ch @ 2011-01-12 10:18 UTC (permalink / raw)
  To: gcc-bugs

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

           Summary: array constructor causing long compile times
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: Joost.VandeVondele@pci.uzh.ch


The following program needs about 40s to compile (-O0):

> cat test.f90
   IMPLICIT NONE
   INTEGER, PARAMETER :: wp=8
   INTEGER, PARAMETER :: Niter=30000000
   INTEGER, ALLOCATABLE, DIMENSION(:) :: perm1

   INTEGER :: i

   ALLOCATE(perm1(Niter))
   perm1=(/(i,i=1,Niter)/)
END

Time grows linearly with Niter.


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

end of thread, other threads:[~2013-06-24  6:59 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-01-12 10:18 [Bug fortran/47267] New: array constructor causing long compile times Joost.VandeVondele at pci dot uzh.ch
2011-01-12 10:24 ` [Bug fortran/47267] " Joost.VandeVondele at pci dot uzh.ch
2011-01-12 14:11 ` burnus at gcc dot gnu.org
2011-01-13 19:56 ` jvdelisle at gcc dot gnu.org
2011-02-06 23:19 ` jvdelisle at gcc dot gnu.org
2011-02-07  0:59 ` dfranke at gcc dot gnu.org
2013-06-24  6:59 ` dominiq at lps dot ens.fr

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