This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/30201] gcc doesn't unroll nested loops
- From: "jacob at math dot jussieu dot fr" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 14 Dec 2006 16:24:02 -0000
- Subject: [Bug middle-end/30201] gcc doesn't unroll nested loops
- References: <bug-30201-13749@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #14 from jacob at math dot jussieu dot fr 2006-12-14 16:24 -------
I forgot to say that size() is an inline function returning a constant that is
known at compile-time (a template parameter). Otherwise, of course, I wouldn't
expect these loops to get unrolled...
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30201