From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 00433385771C; Mon, 30 Oct 2023 17:38:23 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 00433385771C DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1698687504; bh=zbv4yOfOwLo083QqTn6PkkJm/oAqrXuhfcpKX4VPQp4=; h=From:To:Subject:Date:In-Reply-To:References:From; b=jB5kfLhN+3ULvg7IVLAY8RJGMUf9EkNOiJVOWi3fjrI6p47OUxf5UFT4TiEXTyAzX XlgiMODpEUauBRrNfCn1kn0t/GcQL3XCGvfjj7EHquhPXj8gG/SfCe6YEQBBSaDKGf Eu2Ks4Lhs5r5BQSvcTvqVzWkcJbVxDYj2VYXnbro= From: "cvs-commit at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug ipa/111157] [14 Regression] 416.gamess fails with a run-time abort when compiled with -O2 -flto after r14-3226-gd073e2d75d9ed4 Date: Mon, 30 Oct 2023 17:38:21 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: ipa X-Bugzilla-Version: 14.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: cvs-commit at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: jamborm at gcc dot gnu.org X-Bugzilla-Target-Milestone: 14.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 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D111157 --- Comment #10 from CVS Commits --- The master branch has been updated by Martin Jambor : https://gcc.gnu.org/g:1437df40f12ade35fd1f1a3e4cbba4b4656cab0b commit r14-5016-g1437df40f12ade35fd1f1a3e4cbba4b4656cab0b Author: Martin Jambor Date: Mon Oct 30 18:34:59 2023 +0100 ipa-cp: Templatize filtering of m_agg_values PR 111157 points to another place where IPA-CP collected aggregate compile-time constants need to be filtered, in addition to the one place that already does this in ipa-sra. In order to re-use code, this patch turns the common bit into a template. The functionality is still covered by testcase gcc.dg/ipa/pr108959.c. gcc/ChangeLog: 2023-09-13 Martin Jambor PR ipa/111157 * ipa-prop.h (ipcp_transformation): New member function template remove_argaggs_if. * ipa-sra.cc (zap_useless_ipcp_results): Use remove_argaggs_if = to filter aggreagate constants.=