public inbox for gdb-prs@sourceware.org help / color / mirror / Atom feed
From: "vries at gcc dot gnu.org" <sourceware-bugzilla@sourceware.org> To: gdb-prs@sourceware.org Subject: [Bug build/26368] New: [build, sh-elf] Werror errors Date: Mon, 10 Aug 2020 21:56:17 +0000 [thread overview] Message-ID: <bug-26368-4717@http.sourceware.org/bugzilla/> (raw) https://sourceware.org/bugzilla/show_bug.cgi?id=26368 Bug ID: 26368 Summary: [build, sh-elf] Werror errors Product: gdb Version: HEAD Status: NEW Severity: normal Priority: P2 Component: build Assignee: unassigned at sourceware dot org Reporter: vries at gcc dot gnu.org Target Milestone: --- ... $ grep error: -B1 mbuild/sh-elf/Build.log ./ppi.c: In function 'ppi_insn': ./ppi.c:59:38: error: suggest parentheses around '-' inside '>>' [-Werror=parentheses] -- ~~~~^~~ ./ppi.c:90:61: error: suggest parentheses around '-' inside '>>' [-Werror=parentheses] -- ~~~^~~ ./ppi.c:105:46: error: suggest parentheses around '-' inside '<<' [-Werror=parentheses] -- ~~~^~~ ./ppi.c:217:47: error: suggest parentheses around arithmetic in operand of '|' [-Werror=parentheses] -- ^ ./ppi.c:252:47: error: suggest parentheses around arithmetic in operand of '|' [-Werror=parentheses] -- ^ ./ppi.c:544:38: error: suggest parentheses around '-' inside '>>' [-Werror=parentheses] -- ~~~~^~~~ ./ppi.c:583:62: error: suggest parentheses around '-' inside '>>' [-Werror=parentheses] -- ~~~^~~~ ./ppi.c:598:47: error: suggest parentheses around '-' inside '<<' [-Werror=parentheses] -- ~~~^~~~ ./ppi.c:1241:41: error: suggest parentheses around arithmetic in operand of '|' [-Werror=parentheses] -- ./code.c: In function 'sim_resume': src/sim/sh/interp.c:672:46: error: value computed is not used [-Werror=unused-value] -- ^~~~~ src/sim/sh/interp.c:672:46: error: value computed is not used [-Werror=unused-value] -- ^~~~~ src/sim/sh/interp.c:672:46: error: value computed is not used [-Werror=unused-value] -- ^~~~~ ./code.c:465:28: error: suggest parentheses around '-' in operand of '&' [-Werror=parentheses] -- ^~~ src/sim/sh/interp.c:231:40: error: suggest parentheses around arithmetic in operand of '|' [-Werror=parentheses] -- ^~~~~~ src/sim/sh/interp.c:231:40: error: suggest parentheses around arithmetic in operand of '|' [-Werror=parentheses] -- ^~~~~~ src/sim/sh/interp.c:231:40: error: suggest parentheses around arithmetic in operand of '|' [-Werror=parentheses] -- ^~~~~~ src/sim/sh/interp.c:231:40: error: suggest parentheses around arithmetic in operand of '|' [-Werror=parentheses] -- src/sim/sh/interp.c: In function 'sim_open': src/sim/sh/interp.c:2432:10: error: assignment discards 'const' qualifier from pointer target type [-Werror=discarded-qualifiers] -- src/sim/sh/interp.c: In function 'ppi_insn': ./ppi.c:875:21: error: assuming signed overflow does not occur when assuming that (X + c) < X is always false [-Werror=strict-overflow] -- ~~~~^~~~ ./ppi.c:849:21: error: assuming signed overflow does not occur when assuming that (X - c) > X is always false [-Werror=strict-overflow] -- ~~~~^~~~ ./ppi.c:823:21: error: assuming signed overflow does not occur when assuming that (X + c) < X is always false [-Werror=strict-overflow] -- ~~~~^~~~ ./ppi.c:797:21: error: assuming signed overflow does not occur when assuming that (X - c) > X is always false [-Werror=strict-overflow] -- src/sim/sh/interp.c: In function 'set_sr': src/sim/sh/interp.c:435:44: error: array subscript is above array bounds [-Werror=array-bounds] -- ^~~~~~~ src/sim/sh/interp.c:435:44: error: array subscript is above array bounds [-Werror=array-bounds] -- src/sim/sh/interp.c: In function 'sh_reg_store': src/sim/sh/interp.c:435:44: error: array subscript is above array bounds [-Werror=array-bounds] -- ^~~ src/sim/sh/interp.c:435:44: error: array subscript is above array bounds [-Werror=array-bounds] -- ^~ src/sim/sh/interp.c:435:44: error: array subscript is above array bounds [-Werror=array-bounds] -- ^~~ src/sim/sh/interp.c:435:44: error: array subscript is above array bounds [-Werror=array-bounds] -- ^~ src/sim/sh/interp.c:435:44: error: array subscript is above array bounds [-Werror=array-bounds] -- ^~ src/sim/sh/interp.c:435:44: error: array subscript is above array bounds [-Werror=array-bounds] -- ^~ src/sim/sh/interp.c:435:44: error: array subscript is above array bounds [-Werror=array-bounds] -- ^~ src/sim/sh/interp.c:435:44: error: array subscript is above array bounds [-Werror=array-bounds] -- ^~ src/sim/sh/interp.c:435:44: error: array subscript is above array bounds [-Werror=array-bounds] -- ^~ src/sim/sh/interp.c:435:44: error: array subscript is above array bounds [-Werror=array-bounds] -- ^~~~~~~ src/sim/sh/interp.c:435:44: error: array subscript is above array bounds [-Werror=array-bounds] -- src/sim/sh/interp.c: In function 'sh_reg_fetch': src/sim/sh/interp.c:435:44: error: array subscript is above array bounds [-Werror=array-bounds] -- ^~~ src/sim/sh/interp.c:435:44: error: array subscript is above array bounds [-Werror=array-bounds] -- ^~ src/sim/sh/interp.c:435:44: error: array subscript is above array bounds [-Werror=array-bounds] -- ^~~ src/sim/sh/interp.c:435:44: error: array subscript is above array bounds [-Werror=array-bounds] -- ^~ src/sim/sh/interp.c:435:44: error: array subscript is above array bounds [-Werror=array-bounds] -- ^~ src/sim/sh/interp.c:435:44: error: array subscript is above array bounds [-Werror=array-bounds] -- ^~ src/sim/sh/interp.c:435:44: error: array subscript is above array bounds [-Werror=array-bounds] -- ^~ src/sim/sh/interp.c:435:44: error: array subscript is above array bounds [-Werror=array-bounds] -- ^~ src/sim/sh/interp.c:435:44: error: array subscript is above array bounds [-Werror=array-bounds] -- src/sim/sh/interp.c: In function 'sim_resume': src/sim/sh/interp.c:435:44: error: array subscript is above array bounds [-Werror=array-bounds] -- ^~~~~~~ src/sim/sh/interp.c:435:44: error: array subscript is above array bounds [-Werror=array-bounds] -- ^~~~~~~ src/sim/sh/interp.c:435:44: error: array subscript is above array bounds [-Werror=array-bounds] -- ^~~~~~~ src/sim/sh/interp.c:435:44: error: array subscript is above array bounds [-Werror=array-bounds] -- ^~~~~~~ src/sim/sh/interp.c:435:44: error: array subscript is above array bounds [-Werror=array-bounds] -- ^~~~~~~ src/sim/sh/interp.c:435:44: error: array subscript is above array bounds [-Werror=array-bounds] -- ^~~~~~~ src/sim/sh/interp.c:435:44: error: array subscript is above array bounds [-Werror=array-bounds] -- ^~~~~~~ src/sim/sh/interp.c:435:44: error: array subscript is above array bounds [-Werror=array-bounds] -- ^~~~~~~ src/sim/sh/interp.c:435:44: error: array subscript is above array bounds [-Werror=array-bounds] -- ^~~~~~~ src/sim/sh/interp.c:435:44: error: array subscript is above array bounds [-Werror=array-bounds] -- ^~~~~~~ src/sim/sh/interp.c:435:44: error: array subscript is above array bounds [-Werror=array-bounds] -- ^~~~~~~ src/sim/sh/interp.c:435:44: error: array subscript is above array bounds [-Werror=array-bounds] -- ^~~~~~~ src/sim/sh/interp.c:435:44: error: array subscript is above array bounds [-Werror=array-bounds] -- ^~~~~ src/sim/sh/interp.c:435:44: error: array subscript is above array bounds [-Werror=array-bounds] -- ^~~~~ src/sim/sh/interp.c:435:44: error: array subscript is above array bounds [-Werror=array-bounds] -- ^~~~~ src/sim/sh/interp.c:435:44: error: array subscript is above array bounds [-Werror=array-bounds] -- ^~~~~~ src/sim/sh/interp.c:435:44: error: array subscript is above array bounds [-Werror=array-bounds] -- ^~~~~~~~~ src/sim/sh/interp.c:435:44: error: array subscript is above array bounds [-Werror=array-bounds] -- ^~~~~ src/sim/sh/interp.c:435:44: error: array subscript is above array bounds [-Werror=array-bounds] -- ^~~~~~ src/sim/sh/interp.c:435:44: error: array subscript is above array bounds [-Werror=array-bounds] -- ^~~~~~~~~ src/sim/sh/interp.c:435:44: error: array subscript is above array bounds [-Werror=array-bounds] -- ^~~~~ src/sim/sh/interp.c:435:44: error: array subscript is above array bounds [-Werror=array-bounds] -- ^~~~~~ src/sim/sh/interp.c:435:44: error: array subscript is above array bounds [-Werror=array-bounds] -- ^~~~~~~~~ src/sim/sh/interp.c:435:44: error: array subscript is above array bounds [-Werror=array-bounds] -- ^~~~~ src/sim/sh/interp.c:435:44: error: array subscript is above array bounds [-Werror=array-bounds] -- ^~~~~~ src/sim/sh/interp.c:435:44: error: array subscript is above array bounds [-Werror=array-bounds] -- ^~~~~~~~~ src/sim/sh/interp.c:435:44: error: array subscript is above array bounds [-Werror=array-bounds] -- ^~~~~~ src/sim/sh/interp.c:435:44: error: array subscript is above array bounds [-Werror=array-bounds] -- ^~~~~~~~~ src/sim/sh/interp.c:435:44: error: array subscript is above array bounds [-Werror=array-bounds] -- ^~~~~~ src/sim/sh/interp.c:435:44: error: array subscript is above array bounds [-Werror=array-bounds] -- ^~~~~~~~~ src/sim/sh/interp.c:435:44: error: array subscript is above array bounds [-Werror=array-bounds] -- ^~~~~~ src/sim/sh/interp.c:435:44: error: array subscript is above array bounds [-Werror=array-bounds] -- ^~~~~~~~~ src/sim/sh/interp.c:435:44: error: array subscript is above array bounds [-Werror=array-bounds] -- ^~~~~~ src/sim/sh/interp.c:435:44: error: array subscript is above array bounds [-Werror=array-bounds] -- ^~~~~~~~~ src/sim/sh/interp.c:435:44: error: array subscript is above array bounds [-Werror=array-bounds] -- ^~~~~ src/sim/sh/interp.c:435:44: error: array subscript is above array bounds [-Werror=array-bounds] -- ^~~~~ src/sim/sh/interp.c:435:44: error: array subscript is above array bounds [-Werror=array-bounds] -- ^~~~~~ src/sim/sh/interp.c:435:44: error: array subscript is above array bounds [-Werror=array-bounds] -- ^~~~~~~~~ src/sim/sh/interp.c:435:44: error: array subscript is above array bounds [-Werror=array-bounds] -- ^~~~~ src/sim/sh/interp.c:435:44: error: array subscript is above array bounds [-Werror=array-bounds] -- ^~~~~~ src/sim/sh/interp.c:435:44: error: array subscript is above array bounds [-Werror=array-bounds] -- ^~~~~~~~~ src/sim/sh/interp.c:435:44: error: array subscript is above array bounds [-Werror=array-bounds] -- ^~~~~~ src/sim/sh/interp.c:435:44: error: array subscript is above array bounds [-Werror=array-bounds] -- ^~~~~~~~~ src/sim/sh/interp.c:435:44: error: array subscript is above array bounds [-Werror=array-bounds] -- ^~~~~~ src/sim/sh/interp.c:435:44: error: array subscript is above array bounds [-Werror=array-bounds] -- ^~~~~~~~~ src/sim/sh/interp.c:435:44: error: array subscript is above array bounds [-Werror=array-bounds] -- ^~~~~ src/sim/sh/interp.c:435:44: error: array subscript is above array bounds [-Werror=array-bounds] -- ^~~~~ src/sim/sh/interp.c:435:44: error: array subscript is above array bounds [-Werror=array-bounds] -- ^~~~~~ src/sim/sh/interp.c:435:44: error: array subscript is above array bounds [-Werror=array-bounds] -- ^~~~~~~~~ src/sim/sh/interp.c:435:44: error: array subscript is above array bounds [-Werror=array-bounds] -- ^~~~~ src/sim/sh/interp.c:435:44: error: array subscript is above array bounds [-Werror=array-bounds] -- ^~~~~~ src/sim/sh/interp.c:435:44: error: array subscript is above array bounds [-Werror=array-bounds] -- ^~~~~~~~~ src/sim/sh/interp.c:435:44: error: array subscript is above array bounds [-Werror=array-bounds] -- ^~~~~~ src/sim/sh/interp.c:435:44: error: array subscript is above array bounds [-Werror=array-bounds] -- ^~~~~~~~~ src/sim/sh/interp.c:435:44: error: array subscript is above array bounds [-Werror=array-bounds] -- ^~~~~~ src/sim/sh/interp.c:435:44: error: array subscript is above array bounds [-Werror=array-bounds] -- ^~~~~~~~~ src/sim/sh/interp.c:435:44: error: array subscript is above array bounds [-Werror=array-bounds] -- In file included from src/sim/sh/interp.c:1526:0: ./ppi.c:1178:28: error: 'res' may be used uninitialized in this function [-Werror=maybe-uninitialized] -- ^~~ ./ppi.c:1004:18: error: 'i' may be used uninitialized in this function [-Werror=maybe-uninitialized] ... -- You are receiving this mail because: You are on the CC list for the bug.
next reply other threads:[~2020-08-10 21:56 UTC|newest] Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top 2020-08-10 21:56 vries at gcc dot gnu.org [this message] 2020-08-18 8:45 ` [Bug build/26368] " vries at gcc dot gnu.org
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=bug-26368-4717@http.sourceware.org/bugzilla/ \ --to=sourceware-bugzilla@sourceware.org \ --cc=gdb-prs@sourceware.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).