This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug tree-optimization/71264] [4.9/5/6 Regression] ICE in convert_move


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]