From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 3A6833857438; Mon, 31 Jul 2023 16:19:30 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 3A6833857438 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1690820370; bh=y22NPoTvfzTt3lxumdbqaKNxIjpaOLE37bMg3x8PCuU=; h=From:To:Subject:Date:In-Reply-To:References:From; b=r1S131w3XXjiVVFoRqRTsd7HdiFbLWVpDD/TF+6FVg/68nINgTzjhwKvBPQQgEhYY qUk6+jSz7aBRmOP/rBi8lrvRTJNaAfWzWTJjh5OqZ5dtLV4KksK+Ytoif4Vp+t+ieW 5Gb/O7Gv/vIofB8HwNBv6q5vRCoEJEm7ESjp6GY8= From: "cvs-commit at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/109713] [14 Regression] gcc/config/riscv/sync.md:66:1: error: control reaches end of non-void function [-Werror=return-type] since r14-406-gbff7c773864479 Date: Mon, 31 Jul 2023 16:19:29 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 14.0 X-Bugzilla-Keywords: build X-Bugzilla-Severity: normal X-Bugzilla-Who: cvs-commit at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 14.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D109713 --- Comment #8 from CVS Commits --- The releases/gcc-13 branch has been updated by Patrick O'Neill : https://gcc.gnu.org/g:1e9180b3298def6c01d9055d558fdb52231f8d2d commit r13-7674-g1e9180b3298def6c01d9055d558fdb52231f8d2d Author: Martin Liska 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=3Dreturn-type] 66 | [(set (attr "length") (const_int 4))]) | ^ PR target/109713 gcc/ChangeLog: * config/riscv/sync.md: Add gcc_unreachable to a switch.=