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

--- Comment #9 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-8 branch has been updated by Jakub Jelinek
<ja...@gcc.gnu.org>:

https://gcc.gnu.org/g:0b00f43cf381f03aeaced375f8f0ef1e731c9f43

commit r8-10007-g0b00f43cf381f03aeaced375f8f0ef1e731c9f43
Author: Jakub Jelinek <ja...@redhat.com>
Date:   Fri Feb 14 15:41:22 2020 +0100

    riscv: Fix up riscv_rtx_costs for RTL checking (PR target/93333)

    As mentioned in the PR, during combine rtx_costs can be called sometimes
    even on RTL that has not been validated yet and so can contain even
operands
    that aren't valid in any instruction.

    2020-01-21  Jakub Jelinek  <ja...@redhat.com>

        PR target/93333
        * config/riscv/riscv.c (riscv_rtx_costs) <case ZERO_EXTRACT>: Verify
        the last two operands are CONST_INT_P before using them as such.

        * gcc.c-torture/compile/pr93333.c: New test.

Reply via email to