This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/21449] New: Loop unroller is way over estimating the unroll size of a loop
- 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: 7 May 2005 21:27:37 -0000
- Subject: [Bug tree-optimization/21449] New: Loop unroller is way over estimating the unroll size of a loop
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
The loop unroller over estimates the unrolled sized of an empty loop:
int f(void)
{
int i;
for(i = 0 ;i < 10; i++);
}
We get:
Loop size: 5
Estimated size after unrolling: 10
--
Summary: Loop unroller is way over estimating the unroll size of
a loop
Product: gcc
Version: 4.0.0
Status: UNCONFIRMED
Keywords: missed-optimization, TREE
Severity: enhancement
Priority: P2
Component: tree-optimization
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=21449