[Bug middle-end/91623] [8 Regression] -msse4.1 -O3 segfault in /usr/lib/gcc/x86_64-pc-linux-gnu/8.3.0/include/smmintrin.h:270:10
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Nov 21 17:10:00 GMT 2019
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91623
--- Comment #11 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Thu Nov 21 17:09:57 2019
New Revision: 278574
URL: https://gcc.gnu.org/viewcvs?rev=278574&root=gcc&view=rev
Log:
Backported from mainline
2019-09-01 Jakub Jelinek <jakub@redhat.com>
PR middle-end/91623
* optabs.c (expand_vec_cond_expr): If op0 is a VECTOR_CST and only
EQ_EXPR/NE_EXPR is supported, verify that op0 only contains
zeros or negative elements and use NE_EXPR instead of LT_EXPR against
zero vector.
* gcc.target/i386/pr91623.c: New test.
Added:
branches/gcc-8-branch/gcc/testsuite/gcc.target/i386/pr91623.c
Modified:
branches/gcc-8-branch/gcc/ChangeLog
branches/gcc-8-branch/gcc/optabs.c
branches/gcc-8-branch/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list