From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 8AB9238E26D2; Thu, 6 Jun 2024 22:03:03 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 8AB9238E26D2 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1717711383; bh=9bSFnOVa4kgJx1EHhmLmWr9NCgZrdiBLaplu9SX+2d0=; h=From:To:Subject:Date:In-Reply-To:References:From; b=qVf0jsFZHUDEDmj8NNzouxjxTgzRUQlKi3oLsE58ryUCOrODXAxK3+1aT19GvXgfb sgu8uhkzeWmWUUUU+eanY1TqsnXRV0VAsGn8TEeDUQxsMNEr+nOGws3FfyLwTQfiQv SZbY0hOKj+kC1j7I9v0vUlyq9JiHrr2ux0eFyBJs= From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/109896] Missed optimisation: overflow detection in multiplication instructions for operator new Date: Thu, 06 Jun 2024 22:03:03 +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.1.1 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: pinskia at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED 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: attachments.created 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=3D109896 --- Comment #9 from Andrew Pinski --- Created attachment 58374 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D58374&action=3Dedit Patch which I am testing=