[Bug target/88905] [8/9 Regression] ICE: in decompose, at rtl.h:2253 with -mabm and __builtin_popcountll

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Jan 22 09:12:00 GMT 2019


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88905

--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Tue Jan 22 09:11:35 2019
New Revision: 268139

URL: https://gcc.gnu.org/viewcvs?rev=268139&root=gcc&view=rev
Log:
        PR target/88905
        * optabs.c (add_equal_note): Add op0_mode argument, use it instead of
        GET_MODE (op0).
        (expand_binop_directly, expand_doubleword_clz,
        expand_doubleword_popcount, expand_ctz, expand_ffs,
        expand_unop_direct, maybe_emit_unop_insn): Adjust callers.

        * gcc.dg/pr88905.c: New test.

Added:
    trunk/gcc/testsuite/gcc.dg/pr88905.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/optabs.c
    trunk/gcc/testsuite/ChangeLog


More information about the Gcc-bugs mailing list