From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 274A93858C2D; Fri, 25 Aug 2023 16:46:25 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 274A93858C2D DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1692981985; bh=5BoaWgovgVuR/c8QyoKjIgCHSCcKJ0nmfHlL3Ofh8OM=; h=From:To:Subject:Date:In-Reply-To:References:From; b=syFWVn1EAyaDxp+lyocCeIXEkkzcbztdqH8aQk7PK4jean2wPp0itEeV/0bHZ23WL 7dliZQMaH291qly9W+YVagfz1o3gSexR7bjWajHFGqyQCgnM06U+9Md76nZExLvsR3 6GGIzHsb4Bp6Ua2OGJOdtildRCACvAXOMn32xhuM= From: "jamborm 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: Fri, 25 Aug 2023 16:46:24 +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: jamborm at gcc dot gnu.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: 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 #1 from Martin Jambor --- interestingly, the issue goes away with -flto-partition=3Done It is triggered by propagating 0 as the last parameter of point.constprop.i= sra which however looks correct, all four calls to the function (in different partitions) look like this: istat =3D 0; _272 =3D MEM[(double &)&elprop]; point.constprop.isra (_272, &ipoint, &xyzprp.xp, &xyzprp.yp, &xyzprp.zp, &istat); _46 =3D istat;=