On 01/22/2016 08:03 PM, Ian Lance Taylor wrote:
Updated patch.

I've verified that I'm changing the only relevant place in
tree-ssa-loop-ivopts.c that creates a POINTER_PLUS_EXPR, so I do think
that this is the only changed to fix the problem for ivopts.

I don't think so. One of the problems with ivopts is that it likes to cast everything to unsigned int, so looking for POINTER_PLUS_EXPR wouldn't find all affected spots. At least this used to happen, I didn't check recently. Also, a lot of the generated expressions are built by tree-affine.c rather than in ivopts directly.


Bernd


Reply via email to