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

--- Comment #6 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Martin Liska <mar...@gcc.gnu.org>:

https://gcc.gnu.org/g:4bd434fbfc7865961a8e10d7e9601b28765ce7be

commit r14-432-g4bd434fbfc7865961a8e10d7e9601b28765ce7be
Author: Martin Liska <mli...@suse.cz>
Date:   Wed May 3 16:35:26 2023 +0200

    riscv: fix error: control reaches end of non-void function

    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_unreachable to a switch.

Reply via email to