This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/68595] [6 regression] ice in const_vector_mask_from_tree at expr.c:11455
- From: "jakub at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 30 Nov 2015 15:07:42 +0000
- Subject: [Bug middle-end/68595] [6 regression] ice in const_vector_mask_from_tree at expr.c:11455
- Auto-submitted: auto-generated
- References: <bug-68595-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68595
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |ienkovich at gcc dot gnu.org
--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
So, either we should keep what used to be in _Bool/bool type in scalar code as
0/-1 at all spots, or as 0/1 at all spots, or as non-zero vs. zero, but choose
consistently one of those and adjust all the ops accordingly. Say in the last
case original bool ~x needs to be vectorized as x == 0.
So, is 0/-1 the best choice for all targets?