From: Richard Biener Date: Fri, 20 Jan 2017 08:01:27 +0000 (+0000) Subject: re PR tree-optimization/71264 (ICE in convert_move) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0516164b36995f2b1e2cefd30c291b50f9db2064;p=gcc.git re PR tree-optimization/71264 (ICE in convert_move) 2017-01-20 Richard Biener PR tree-optimization/71264 * gcc.dg/vect/pr71264.c: Make sure memory is aligned. From-SVN: r244683 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 65c9ac816c5..5e3ac310789 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2017-01-20 Richard Biener + + PR tree-optimization/71264 + * gcc.dg/vect/pr71264.c: Make sure memory is aligned. + 2017-01-19 Matthew Fortune * gcc.target/mips/madd4-1.c: New file. diff --git a/gcc/testsuite/gcc.dg/vect/pr71264.c b/gcc/testsuite/gcc.dg/vect/pr71264.c index ebee338356e..72d90086ec5 100644 --- a/gcc/testsuite/gcc.dg/vect/pr71264.c +++ b/gcc/testsuite/gcc.dg/vect/pr71264.c @@ -7,6 +7,8 @@ typedef uint8_t footype __attribute__((vector_size(4))); void test(uint8_t *ptr, uint8_t *mask) { footype mv; + ptr = __builtin_assume_aligned (ptr, __alignof__ (footype)); + mask = __builtin_assume_aligned (mask, __alignof__ (footype)); __builtin_memcpy(&mv, mask, sizeof(mv)); for (unsigned i = 0; i < 16; i += 4) {