This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/20923] gfortran slow for large array constructors
- From: "jvdelisle at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 29 Nov 2009 19:36:34 -0000
- Subject: [Bug fortran/20923] gfortran slow for large array constructors
- References: <bug-20923-6528@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #20 from jvdelisle at gcc dot gnu dot org 2009-11-29 19:36 -------
Created an attachment (id=19180)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19180&action=view)
Hopefully final patch
This patch moves the number of elements patch up front so that the error is
given almost immediately. Previously, with one of Dominique's test cases, it
would take over 15 minutes on my machine here before one find's out there is a
problem. I use gfc_fatal_error because compilation at that this early stage
continues on happily before quitting. Can be very annoying for programs with
large array constructors. Testing continues.
--
jvdelisle at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #19170|0 |1
is obsolete| |
Attachment #19172|0 |1
is obsolete| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20923