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 failure on the attached testcase? If so, would you > mind committing the testcase with the patch?
Sorry - I saw this mail too late. The assert already triggers various existing tests in gcc.dg/vect on x86_64-linux so I didn't add a new one. Feel free to add the test if you think more Ada coverage is warranted here. Thanks, Richard. > > * gnat.dg/opt42.ad[sb]: New test. > > > -- > Eric Botcazou