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: "gary at intrepid dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 19 May 2012 22:11:42 +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 #7 from Gary Funck <gary at intrepid dot com> 2012-05-19 22:11:42 UTC ---
(In reply to comment #4)
> Do you have a self-contained run-time testcase?
I wasn't able to create a run-time tester easily, because the code above relies
upon external labels that are interposed at the beginning and end of a table,
via separate compilation and linking. I can do that, but perhaps given
Andrew's reply, that may be unnecessary.