This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/20923] New: Compile time is high for the following code
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 9 Apr 2005 22:15:06 -0000
- Subject: [Bug fortran/20923] New: Compile time is high for the following code
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
While I was looking for an ICE, I noticed that the following code causes gfortran to take a long time
(almost a minute, this is without optimizations)
program sel
implicit none
integer,parameter :: n=1000
integer :: i,j
real,dimension(n*n) :: vect
vect(:) = (/ ((( (i+j+3)),i=1,n),j=1,n) /)
end
--
Summary: Compile time is high for the following code
Product: gcc
Version: 4.1.0
Status: UNCONFIRMED
Keywords: compile-time-hog
Severity: minor
Priority: P2
Component: fortran
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: pinskia at gcc dot gnu dot org
CC: gcc-bugs at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20923