https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119420
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
See Also| |https://gcc.gnu.org/bugzill
| |a/show_bug.cgi?id=121136
--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
(In reply to Jeffrey A. Law from comment #2)
> I'd marked this at some point for investigation on risc-v. I think one of
> the recent changes squashed all these into something sensible:
>
> sltiu a0,a0,2 # 12 [c=8 l=4] *riscv.md:3766
> ret # 25 [c=0 l=4] simple_return
(insn 16 9 17 2 (set (reg/i:DI 10 a0)
(eq:DI (lshiftrt:DI (reg:DI 146 [ a ])
(const_int 1 [0x1]))
(const_int 0 [0]))) "/app/example.c":6:1 442 {*riscv.md:3766}
(expr_list:REG_DEAD (reg:DI 146 [ a ])
(nil)))
Which came from r16-5060-g5e93ab0da7a700 .