Note that the array being indexed (ns_5169) has a nonzero (in fact unknown) offset. The compiler currently does not generate code like this, but I would like it to do so in the future, which means short circuiting would have to keep up. I don't think supporting this would be very difficult. It requires adjusting the LMAD of the result, but so does most other things that short circuiting performs.
I would like short circuiting to work for this program:
Note that the array being indexed (
ns_5169
) has a nonzero (in fact unknown) offset. The compiler currently does not generate code like this, but I would like it to do so in the future, which means short circuiting would have to keep up. I don't think supporting this would be very difficult. It requires adjusting the LMAD of the result, but so does most other things that short circuiting performs.