[Bug c++/15837] Optimization (of templatized functions?)

adruab at voria dot com gcc-bugzilla@gcc.gnu.org
Sat Jun 5 20:41:00 GMT 2004


------- Additional Comments From adruab at voria dot com  2004-06-05 20:41 -------
Ok, I've narrowed it down farther.  In both hbox_blur and vbox_blur if you call
a function inside the inner loop and pass it x for hbox and y for vbox (printf
for example), it the faulty optimization is circumvented.

ex. line 32951 of pen.ii
insert: printf("%d",y);

That loop will then work fine. Hope this helps.



-- 


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



More information about the Gcc-bugs mailing list