From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 371BD3858C5E; Wed, 17 May 2023 18:47:17 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 371BD3858C5E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1684349237; bh=zuB1ISGz5O2Cxzdw1Fs5cnlawn7PfL/00YmrpvD1oOk=; h=From:To:Subject:Date:In-Reply-To:References:From; b=qx4g0Y4JUbbpo6F177y3Cuki2rCcr3cerIjw8nDQcMYAkWGQhW3yoVpv5kZThkesM A+zIQeixN1F+p9Vs1lhh71crJnvrrVd2NtHNE2GKNKE4EbN7fInR/vn3zj+nSxp029 h+vvPNvcFTQzx3pIawLEVxq5SL24L4hOBzUc1Zio= From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: =?UTF-8?B?W0J1ZyB0cmVlLW9wdGltaXphdGlvbi8xMDY0MDldIEdDQyB3aXRo?= =?UTF-8?B?IExUTzogV2FybmluZzogYXJndW1lbnQgMSB2YWx1ZSDigJgxOC4uLjYxNQ==?= =?UTF-8?B?4oCZIChTSVpFX01BWCkgZXhjZWVkcyBtYXhpbXVtIG9iamVjdCBzaXplIHdp?= =?UTF-8?B?dGggbmV3?= Date: Wed, 17 May 2023 18:47:17 +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: 11.1.0 X-Bugzilla-Keywords: diagnostic, lto X-Bugzilla-Severity: normal X-Bugzilla-Who: pinskia at gcc dot gnu.org 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: see_also 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=3D106409 Andrew Pinski changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://gcc.gnu.org/bugzill | |a/show_bug.cgi?id=3D58525 --- Comment #7 from Andrew Pinski --- (In reply to Thiago Macieira from comment #6) > Suggestion: add a function to libgcc to be called instead of > __cxa_throw_bad_array_new_length when exceptions are disabled. That funct= ion > can be a mere two instructions, but it provides two advantages: > * no need to stream something into LTO Except there is still a generic issue (which I did link, PR 80922). > * allows post-compilation tools to know what's happened (Valgrind, > debuggers, etc.) >=20 > I don't know if this is an acceptable solution, but I thought I'd make the > suggestion. See PR 58525 also which added that code path.=