2014-10-28 Richard Biener rguent...@suse.de
PR tree-optimization/63665
* tree-vect-slp.c (vect_get_mask_element): Properly handle
accessing out-of-bound elements.
Does fix it the assertion failure on the attached testcase? If so, would you
mind committing the testcase
On Wed, Oct 29, 2014 at 10:04 AM, Eric Botcazou ebotca...@adacore.com wrote:
2014-10-28 Richard Biener rguent...@suse.de
PR tree-optimization/63665
* tree-vect-slp.c (vect_get_mask_element): Properly handle
accessing out-of-bound elements.
Does fix it the assertion
The following fixes folding of x + CST != CST with -fwrapv. Even
with -fwrapv overflow is signalled by int_const_binop with
TREE_OVERFLOW but of course we cannot do any undefined overflow
optimizations when overflow wraps.
bootstrapped and tested on x86_64-unknown-linux-gnu, applied.
Richard.
It seems that SLP vectorization can somehow generate out-of-bound
masks for VEC_PERM. The following fixes that (the ICE reproduces
on x86_64 with the added assert).
Bootstrap and regtest running on x86_64-unknown-linux-gnu.
Richard.
2014-10-28 Richard Biener rguent...@suse.de
PR