This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/20923] gfortran slow for large array constructors



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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]