From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 7346E3858C83; Sat, 10 Sep 2022 18:27:58 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 7346E3858C83 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1662834478; bh=nB8DY3t7Igm6S1+nsOh/srgUQ8s5H8YixXpQxUBhsH0=; h=From:To:Subject:Date:In-Reply-To:References:From; b=cm69yqXx7j5o8/VDkiYNqmtoJxu1YM8IDhCzYc9CMC1qTnlXC6+n6AepW/e07VceB EmlBA25Ux6GpJI1hBZyCiJ6rmzoT0BIcq80fJwRqiQYgbpJqAuyIpMP9aXo4tBQKRv h5QBuj/xmY+BLkHdaQgrEf7si2gAEchfPtl43ev8= From: "carlosgalvezp at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/106901] False positive -Warray-bounds with -O2 or higher? Date: Sat, 10 Sep 2022 18:27:58 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 13.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: carlosgalvezp at gmail dot com 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=3D106901 --- Comment #4 from Carlos Galvez --- Makes sense! Would it make sense to classify this as "maybe-array-bounds" instead? Simil= ar to "maybe-uninitialized" vs "uninitialized"=