This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/71264] [4.9/5/6 Regression] ICE in convert_move
- From: "ro at CeBiTec dot Uni-Bielefeld.DE" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 30 May 2016 14:01:54 +0000
- Subject: [Bug tree-optimization/71264] [4.9/5/6 Regression] ICE in convert_move
- Auto-submitted: auto-generated
- References: <bug-71264-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71264
--- Comment #10 from ro at CeBiTec dot Uni-Bielefeld.DE <ro at CeBiTec dot Uni-Bielefeld.DE> ---
> --- Comment #9 from Richard Biener <rguenth at gcc dot gnu.org> ---
> Does adding
>
> ptr = __builtin_assume_alinged (alignof (footype), ptr);
> mask = __builtin_assume_aligned (alignof (footype), mask);
>
> help?
The failure mode changes: if I spell it as
ptr = __builtin_assume_aligned (ptr, __alignof__ (footype));
mask = __builtin_assume_aligned (mask, __alignof__ (footype));
the dump now has
/vol/gcc/src/hg/trunk/local/gcc/testsuite/gcc.dg/vect/pr71264.c:14:3: note: not
vectorized: vector stmt in loop:_16 = VIEW_CONVERT_EXPR<vector(4) unsigned
char>(_15);
/vol/gcc/src/hg/trunk/local/gcc/testsuite/gcc.dg/vect/pr71264.c:14:3: note:
can't determine vectorization factor.
/vol/gcc/src/hg/trunk/local/gcc/testsuite/gcc.dg/vect/pr71264.c:7:6: note:
vectorized 0 loops in function.
Rainer