]> gcc.gnu.org Git - gcc.git/commit
riscv: fix error: control reaches end of non-void function
authorMartin Liska <mliska@suse.cz>
Wed, 3 May 2023 14:35:26 +0000 (16:35 +0200)
committerMartin Liska <mliska@suse.cz>
Wed, 3 May 2023 14:36:39 +0000 (16:36 +0200)
commit4bd434fbfc7865961a8e10d7e9601b28765ce7be
treec3cc3c1c5c1502c459c3f2f38848ca7ca082370f
parent64780df27b41d73689cd12dfda780d75fb80d743
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.
gcc/config/riscv/sync.md
This page took 0.060034 seconds and 5 git commands to generate.