From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 547D03858C20; Thu, 7 Sep 2023 05:17:33 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 547D03858C20 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1694063853; bh=CNxTW/O2N1Vcf0IyNfXnIJxtA+3dweH2OP0z2+BfkYE=; h=From:To:Subject:Date:In-Reply-To:References:From; b=aXnsmvPWG6qXUTFjiQe1hFMcocEfGaqPijPvXA2Lp+nDU5g92CSO5aQSfZMX25Oy+ 06J88C44FRiMVR1sKwH8Tzkt8ObJqYyMS7tO1kbq5mHcJeZ1g+PUaoAwf+vK1tm7Y6 XyfsZQ4wGF9cgULzzgb/zYG7+e5eF+aEiEvw1qVY= From: "gayathri.gottumukkala.27 at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/65350] [C++14] operator new[] should not be called if # of initializer elements exceeds # of elements Date: Thu, 07 Sep 2023 05:17:32 +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: 5.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: gayathri.gottumukkala.27 at gmail dot com X-Bugzilla-Status: NEW 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: cc 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=3D65350 Gayathri Gottumukkala changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |gayathri.gottumukkala.27@gm | |ail.com --- Comment #4 from Gayathri Gottumukkala --- "cout" statement is executed before the exception is raised, hence two lines are printed as output.=