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

bangerth at dealii dot org gcc-bugzilla@gcc.gnu.org
Thu Dec 14 15:41:00 GMT 2006



------- 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



More information about the Gcc-bugs mailing list