This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/15837] Optimization (of templatized functions?)
- From: "adruab at voria dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 5 Jun 2004 20:41:11 -0000
- Subject: [Bug c++/15837] Optimization (of templatized functions?)
- References: <20040605201151.15837.adruab@voria.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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