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 middle-end/68595] [6 regression] ice in const_vector_mask_from_tree at expr.c:11455


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?

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