This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/19401] Trivial loop not unrolled
- 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: 12 Jan 2005 16:21:13 -0000
- Subject: [Bug tree-optimization/19401] Trivial loop not unrolled
- References: <20050112160800.19401.rguenth@tat.physik.uni-tuebingen.de>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-01-12 16:21 -------
Another trivial loop which is not unrolled but should be:
int f(int x)
{
int i, x1;
x1 = x;
for(i = 0;i<2;i++)
x1 *= x1;
return x1;
}
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19401