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

--- Comment #4 from sgunderson at bigfoot dot com ---
On Sat, Jun 15, 2013 at 05:10:57PM +0000, jakub at gcc dot gnu.org wrote:
> If both start and length are constants, then it will be folded by the 
> compiler,
> similarly if you use it inside of loop and start/length will be loop
> invariants, the computation can be hoisted out of the loop.

Sure, but again, neither of these match my situation. I really need to do a
lookup into a table (with a non-constant index) to get the value.

/* Steinar */

Reply via email to