public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/106297] [12/13 Regression] stringop-overflow misbehaviour on atomic since r12-4725-g88b504b7a8c5affb Date: Fri, 15 Jul 2022 08:05:22 +0000 [thread overview] Message-ID: <bug-106297-4-DsaYLuRQqX@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-106297-4@http.gcc.gnu.org/bugzilla/> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106297 Martin Liška <marxin at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|WAITING |NEW CC| |marxin at gcc dot gnu.org Summary|stringop-overflow |[12/13 Regression] |misbehaviour on atomic |stringop-overflow | |misbehaviour on atomic | |since | |r12-4725-g88b504b7a8c5affb --- Comment #3 from Martin Liška <marxin at gcc dot gnu.org> --- Started with r12-4725-g88b504b7a8c5affb. $ gcc haproxy.i -c -Wno-address-of-packed-member -O2 -Werror haproxy.i: In function ‘run_poll_loop’: haproxy.i:32760:11: error: ‘__atomic_load_8’ writing 8 bytes into a region of size 0 overflows the destination [-Werror=stringop-overflow=] 32760 | if ((__atomic_load_n(&ha_tgroup_ctx[i].stopping_threads, 0) & ha_tgroup_info[i].threads_enabled) != | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ haproxy.i:11985:26: note: at offset 80 into destination object ‘ha_tgroup_ctx’ of size 64 11985 | extern struct tgroup_ctx ha_tgroup_ctx[1]; | ^~~~~~~~~~~~~ cc1: all warnings being treated as errors
next prev parent reply other threads:[~2022-07-15 8:05 UTC|newest] Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top 2022-07-14 14:05 [Bug c/106297] New: stringop-overflow misbehaviour on atomic chipitsine at gmail dot com 2022-07-14 16:05 ` [Bug tree-optimization/106297] " pinskia at gcc dot gnu.org 2022-07-15 2:33 ` chipitsine at gmail dot com 2022-07-15 8:05 ` marxin at gcc dot gnu.org [this message] 2022-07-15 8:05 ` [Bug tree-optimization/106297] [12/13 Regression] stringop-overflow misbehaviour on atomic since r12-4725-g88b504b7a8c5affb marxin at gcc dot gnu.org 2022-07-18 7:27 ` rguenth at gcc dot gnu.org 2022-07-25 15:03 ` rguenth at gcc dot gnu.org 2022-07-28 14:33 ` jakub at gcc dot gnu.org 2022-07-28 15:28 ` msebor at gcc dot gnu.org 2023-05-08 12:25 ` [Bug tree-optimization/106297] [12/13/14 " rguenth 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-106297-4-DsaYLuRQqX@http.gcc.gnu.org/bugzilla/ \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@gcc.gnu.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).