From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 5D7DA3858D28; Sun, 9 Apr 2023 16:25:35 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 5D7DA3858D28 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1681057535; bh=goZDyhh682mx7YV4KQtkkeEawZf9NuaT+b32OrG2sKo=; h=From:To:Subject:Date:In-Reply-To:References:From; b=i22ad/PYxhyoOqScol2YTRmz5mK1Sav/1NXM3E1mNV/3/BlWPUPI18BEVpgQOjrcc D5Tm1N+2RoniVMIeEQojZ7Usrle8C5XgtE98eOgRL1RJoyOL+JEaRz4CZNiQ3Fw5NL R6ee9P5cbfSJyBL2ru8A6SQl14zv6UdwHtfbArKg= From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/109455] false-positive -Wstringop-overflow warning when using std::vector with UBsan Date: Sun, 09 Apr 2023 16:25:35 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 12.2.0 X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: pinskia at gcc dot gnu.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: keywords component 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=3D109455 Andrew Pinski changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |diagnostic Component|c++ |tree-optimization --- Comment #1 from Andrew Pinski --- From https://gcc.gnu.org/onlinedocs/gcc/Instrumentation-Options.html#index-fsani= tize_003dundefined Note that sanitizers tend to increase the rate of false positive warnings, = most notably those around -Wmaybe-uninitialized. We recommend against combining -Werror and [the use of] sanitizers.=