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

Jim Wilson <wilson at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2020-01-21
     Ever confirmed|0                           |1

--- Comment #2 from Jim Wilson <wilson at gcc dot gnu.org> ---
I can reproduce.  Reproducing requires enabling rtl checking which is not on by
default.  I suspect that there are other similar problems, as we probably
haven't tested a build with rtl checking enabled before.

The problem is in riscv_rtx_costs which only needs to return valid values for
valid rtl, and it is failing the rtl check for invalid rtl, so this isn't a
major problem if rtl checking is off, but it does need to be fixed to be safe.

Reply via email to