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: "gdr at integrable-solutions dot net" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 12 Jan 2005 17:05:48 -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 gdr at integrable-solutions dot net 2005-01-12 17:05 -------
Subject: Re: Trivial loop not unrolled
"pinskia at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org> writes:
| Really -funroll-loops should be added to -O3 by default and maybe a
| tweewed version to -O2/-Os
I don't think the issue is to have -funroll-loops as default at higher
level. I think it is more about the compiler understanding loops with
constant bounds, just like we handle if(0) or if(1) branches.
-- Gaby
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19401