From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id C6BD53858415; Mon, 5 Feb 2024 16:49:33 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org C6BD53858415 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1707151773; bh=RgwvNNCrrtLCkOlXhwZ5B7xiCG65gmI3lxnUSRRAQkE=; h=From:To:Subject:Date:In-Reply-To:References:From; b=RcbxJ5Uo8tWsS00n77728Uaz/Jma4F1G2j6H+/mvPWZg2co7Rxp9yXdxve2FAs4pg pUv9kCCJ1588i0h+VUGV3VwyKtIF1hYXEpyg2cJvTOjj0Wz5U0GBjLGSoRLAcTSAmH fepZaLC2/UNkXTj//ASdLctuiu7LJGAKgq0jolE4= From: "arnd at linaro dot org" To: gcc-bugs@gcc.gnu.org Subject: [Bug sanitizer/113214] false-positive -Wstringop-overflow warning with thread sanitizer Date: Mon, 05 Feb 2024 16:49:32 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: sanitizer X-Bugzilla-Version: 13.2.0 X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: arnd at linaro dot org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- 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=3D113214 --- Comment #2 from Arnd Bergmann --- The warning is now turned off in the kernel as a workaround: https://lore.kernel.org/all/CAHk-=3DwhzBDLC024NXgJEsFOOpJ9BO2BkuxHXr4h5wOSY= K9AwbQ@mail.gmail.com/ Also, my local one-line workaround is applied for this driver, but this workaound is clearly not useful as a general solution: https://lore.kernel.org/lkml/sbbfz5zzdjj7hjcmyqvof3roe6zb43kflgmweopfu65hll= xdep@m4pxjiuqxood/#t=