gcc-bugs@gcc.gnu.org
[Top] [All Lists]

[Bug middle-end/30201] gcc doesn't unroll nested loops

Subject: [Bug middle-end/30201] gcc doesn't unroll nested loops
From: "bangerth at dealii dot org"
Date: 14 Dec 2006 15:41:33 -0000

------- Comment #9 from bangerth at dealii dot org  2006-12-14 15:41 -------
Hm, now, with -DUNROLL, gcc realizes that it writes to data[] all the
times with no reads and moves all the writes out of the loop. I suppose
it's no surprise that the code is fast (the loop looks pretty atrocious,
though, and is not collapsed to anything reasonable, though).

Of course, this is what should have happened with the original code as
well.

W.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30201

<Prev in Thread] Current Thread [Next in Thread>