From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 00A723858CDB; Thu, 18 May 2023 14:08:34 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 00A723858CDB DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1684418914; bh=tdmKCKlEsoFtwtv3lzrUcyTBcvlGPuVaz71nsz8MTT0=; h=From:To:Subject:Date:In-Reply-To:References:From; b=XYmgniCF/na+oAvvvatw1JlbT9QrvkBLaGl27QjKs4Ui0na9pEgD7pA4wXtA6zgYI 8G5ByPa8buiQD9Cz0ilYDj7EdgtWPs3UveUQWXkPK8qhauvTI1LaGt7bcfYkH9VKm2 h7DuSkJWTczOHLuXN4seXRHjVkGGeBZ6/KH9Wqlw= From: "thiago at kde dot org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/109896] Missed optimisation: overflow detection in multiplication instructions for operator new Date: Thu, 18 May 2023 14:08:33 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 13.1.1 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: thiago at kde dot 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=3D109896 --- Comment #7 from Thiago Macieira --- (In reply to Jonathan Wakely from comment #6) > With placement-new there's no allocation: > https://gcc.godbolt.org/z/68e4PaeYz Is the exception expected there, though?=