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

            Bug ID: 109713
           Summary: [14 Regression] gcc/config/riscv/sync.md:66:1: error:
                    control reaches end of non-void function
                    [-Werror=return-type] since r14-406-gbff7c773864479
           Product: gcc
           Version: 14.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: marxin at gcc dot gnu.org
                CC: patrick at rivosinc dot com
  Target Milestone: ---
              Host: x86_64-linux-gnu
            Target: riscv64-unknown-linux-gnu

Since the revision I see:

[ 5046s] ../../gcc/config/riscv/sync.md: In function 'const char*
output_479(rtx_def**, rtx_insn*)':
[ 5046s] ../../gcc/config/riscv/sync.md:66:1: error: control reaches end of
non-void function [-Werror=return-type]
[ 5046s]    66 |   [(set (attr "length") (const_int 4))])
[ 5046s]       | ^
[ 5046s] cc1plus: some warnings being treated as errors

Reply via email to