https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77503
Uroš Bizjak <ubizjak at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target|aarch64-linux-gnu |aarch64-linux-gnu, x86_64
--- Comment #7 from Uroš Bizjak <ubizjak at gmail dot com> ---
(In reply to Markus Trippelsdorf from comment #6)
> markus@x4 tmp % cat fsmpage.i
> extern void d(void);
> void a() {
> char *b;
> char c = 0;
> for (; b < (char *)a; b++) {
> if (*b)
> c = 1;
> *b = 0;
> }
> if (c)
> d();
> }
Also fails on x86_64 with -O3 -mavx2:
$ /ssd/uros/gcc-build/gcc/cc1 -O3 -mavx2 -quiet pr77503.c
pr77503.c: In function ‘a’:
pr77503.c:2:6: internal compiler error: in vect_transform_stmt, at
tree-vect-stmts.c:8424
void a() {
^
0xd94faa vect_transform_stmt(gimple*, gimple_stmt_iterator*, bool*, _slp_tree*,
_slp_instance*)
/home/uros/gcc-svn/trunk/gcc/tree-vect-stmts.c:8424
0xd9c229 vect_transform_loop(_loop_vec_info*)
/home/uros/gcc-svn/trunk/gcc/tree-vect-loop.c:7045
0xdb9d96 vectorize_loops()
/home/uros/gcc-svn/trunk/gcc/tree-vectorizer.c:585
Please submit a full bug report,