From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 9EC3A385B835; Sat, 18 Apr 2020 17:13:15 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 9EC3A385B835 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1587229995; bh=Ue0gQisW+zYQ/Af6GrJY326jL5kNVQNVOD88Cw88Hvk=; h=From:To:Subject:Date:In-Reply-To:References:From; b=JkIXmgOK1BTZJ2poFrh2Xex0nklAALh33/wGjE49epzXQtPWcXEbWYOxDpiWUXCZr mCXKrzZcxb/wTDzWJ4eaC0htDjRLS8npgJdnuOt+HssN9GzN/QlZiGDgisC2oMOcz8 cN7y7a99+NOHkjUUKiRkMWSv+GdI/9S+YO2DS2K4= From: "law at redhat dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/92893] [10 Regression] Unhelpful -Wstringop-overflow warning for a trailing one-element array Date: Sat, 18 Apr 2020 17:13:15 +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: 10.0 X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: law at redhat dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 10.0 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 X-BeenThere: gcc-bugs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-bugs mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 18 Apr 2020 17:13:15 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D92893 --- Comment #6 from Jeffrey A. Law --- Isn't this ultimately a case of relying on the type information from that M= EM expression in a place where it's not valid?=