This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/53419] loop incorrectly optimized to endless loop at -O2 for table delimited by extern addresses (x86-32)
- From: "rguenth at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 21 May 2012 11:29:13 +0000
- Subject: [Bug tree-optimization/53419] loop incorrectly optimized to endless loop at -O2 for table delimited by extern addresses (x86-32)
- Auto-submitted: auto-generated
- References: <bug-53419-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53419
--- Comment #10 from Richard Guenther <rguenth at gcc dot gnu.org> 2012-05-21 11:29:13 UTC ---
Btw, it does not change it to an endless loop but the exit test to
if (n_init > 1)
thus only an endless loop in case there is more than one element.