This adds GIMPLE combining for /[ex] X * X as it appears for
pointer subtraction / addition combo.
Bootstrapped and tested on x86_64-unknown-linux-gnu, applied.
Richard.
2014-01-29 Richard Biener
PR tree-optimization/58742
* tree-ssa-forwprop.c (associate_plusminus): Return
This implements simple pattern matching for folding of
pointer subtraction GIMPLE IL which is performed in an
integer type. It handles the simple case, like the
others in associate_plusminus (cases involving cancellation).
Bootstrapped and tested on x86_64-unknown-linux-gnu, applied.
Richard.