[Bug tree-optimization/79734] [6/7 Regression] ICE: verify_gimple failed

2017-03-01 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79734

--- Comment #7 from Jakub Jelinek  ---
Author: jakub
Date: Wed Mar  1 08:34:48 2017
New Revision: 245801

URL: https://gcc.gnu.org/viewcvs?rev=245801=gcc=rev
Log:
PR tree-optimization/79734
* tree-vect-generic.c (expand_vector_condition): Optimize
AVX512 vector boolean VEC_COND_EXPRs into bitwise operations.
Handle VEC_COND_EXPR where comparison has different inner width from
type's inner width.

* g++.dg/opt/pr79734.C: New test.

Added:
trunk/gcc/testsuite/g++.dg/opt/pr79734.C
Modified:
trunk/gcc/ChangeLog
trunk/gcc/testsuite/ChangeLog
trunk/gcc/tree-vect-generic.c

[Bug tree-optimization/79734] [6/7 Regression] ICE: verify_gimple failed

2017-02-28 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79734

Jakub Jelinek  changed:

   What|Removed |Added

 Status|NEW |ASSIGNED
   Assignee|unassigned at gcc dot gnu.org  |jakub at gcc dot gnu.org

--- Comment #6 from Jakub Jelinek  ---
Created attachment 40846
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=40846=edit
gcc7-pr79734.patch

Untested fix.