https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118614
--- Comment #3 from Charlie ---
Oh okay, thank you for clarifying this behavior for me. I was assuming that in
a naked function there would be different behavior with register variables, but
I see that is an invalid assumption and it was just co
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118614
Bug ID: 118614
Summary: [riscv] Naked function attribute on riscv optimizes
away C conditional
Product: gcc
Version: 14.2.1
Status: UNCONFIRMED
Severity: norma
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111501
Bug ID: 111501
Summary: RISC-V: non-optimal casting when shifting
Product: gcc
Version: 14.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c