This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/29543] Poor code generated for arrays with variable bounds
- From: "jeff at thecreems dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 23 Oct 2006 23:50:36 -0000
- Subject: [Bug tree-optimization/29543] Poor code generated for arrays with variable bounds
- References: <bug-29543-318@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #14 from jeff at thecreems dot com 2006-10-23 23:50 -------
(In reply to comment #1)
> Created an attachment (id=12473)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12473&action=view) [edit]
> Source code and very simple build script for Ada and FORTRAN code capable of
> showing poor tree and runtime performance.
>
Note, while it does not fully close the gap, I can confirm that a large portion
of this the poor performance is a regression when compared to GCC 4.0.3.
The 4.0.3 is about 1/3 faster than the 4.2.0 which also corresponds to a
significantly reduced number of generated instructions for the inner loop.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29543