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:34:20 -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 #17 from jacob at math dot jussieu dot fr 2006-12-14 16:34 -------
(In reply to comment #15)
> If the loop bounds are compile-time constants you can use template
> metaprogramming to unroll them.
>
ah right, I initially misread "unroll" as "unnest", but it is true that I can
unroll loops with template metaprogramming. Then, no need to unnest.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30201