https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88905
--- Comment #7 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Author: jakub Date: Thu Feb 7 14:36:20 2019 New Revision: 268627 URL: https://gcc.gnu.org/viewcvs?rev=268627&root=gcc&view=rev Log: Backported from mainline 2019-01-22 Jakub Jelinek <ja...@redhat.com> 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: branches/gcc-8-branch/gcc/testsuite/gcc.dg/pr88905.c Modified: branches/gcc-8-branch/gcc/ChangeLog branches/gcc-8-branch/gcc/optabs.c branches/gcc-8-branch/gcc/testsuite/ChangeLog