From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 18A9A386F435; Tue, 2 Apr 2024 20:24:52 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 18A9A386F435 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1712089492; bh=m4ccQ9CnyRsQ41uaVynYEHRaDziqlb+E90UJhO10pfQ=; h=From:To:Subject:Date:In-Reply-To:References:From; b=Q5GJkpc2ErEpKJ2h9tjEWkhiPFFPzHNCN4Zl0mWIYa5JXhLl9fC9ZjtIBPIOX86Cc vUORUxOTqsDxYLuY63bLY9iRuW15VbokX3S0Oi1fti2otxMIaPX8mklvbKdhVqcCkL zNkT43bW3Y5QYDLxPLBuPGw1kXnnMEVyheg1FHq4= From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/110498] Spurious warnings stringop-overflow and array-bounds copying data as bytes into vector::reserve Date: Tue, 02 Apr 2024 20:24:51 +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: 13.1.0 X-Bugzilla-Keywords: diagnostic, missed-optimization 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: 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=3D110498 --- Comment #2 from Andrew Pinski --- (In reply to Michael Ragazzon from comment #1) > I seem to also have encountered this issue while using `std::vector= `. > Here is a relatively small reproducer. std::vector is a different issue and filed as PR 111118.=