Re: [PATCH (pushed)] riscv: fix error: control reaches end of non-void function

2023-05-03 Thread Palmer Dabbelt
On Wed, 03 May 2023 07:37:07 PDT (-0700), mli...@suse.cz wrote: It's pre-approved by Jakub. Cheers, Martin Fixes: gcc/config/riscv/sync.md:66:1: error: control reaches end of non-void function [-Werror=return-type] 66 | [(set (attr "length") (const_int 4))]) | ^ PR target/109713

[PATCH (pushed)] riscv: fix error: control reaches end of non-void function

2023-05-03 Thread Martin Liška
It's pre-approved by Jakub. Cheers, Martin Fixes: gcc/config/riscv/sync.md:66:1: error: control reaches end of non-void function [-Werror=return-type] 66 | [(set (attr "length") (const_int 4))]) | ^ PR target/109713 gcc/ChangeLog: * config/riscv/sync.md: Add gcc_unreachab