https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117176
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |rguenth at gcc dot gnu.org,
| |tnfchris at gcc dot gnu.org
Priority|P3 |P1
--- Comment #3 from Richard Biener <rguenth at gcc dot gnu.org> ---
Confirmed. SLP early-exit vect related.
(gdb) p operand
$1 = 1
(gdb) p debug (slp_node)
t.c:9:5: note: node 0x4e46ac0 (max_nunits=4, refcnt=1) vector(4)
<signed-boolean:64>
t.c:9:5: note: op template: _3 = ~_2;
t.c:9:5: note: [l] stmt 0 _3 = ~_2;
t.c:9:5: note: children 0x4e46b50
for some reason vectorizable_comparison_1 is called on this stmt. ISTR
we expect a comparison here, not a BIT_NOT - SLP discovery should probably
reject this case (for now).