From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 2422A385841A; Fri, 30 Jun 2023 18:57:53 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 2422A385841A DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1688151473; bh=Fj8oQl4yn3Vs7cp2W/io7+0d4QSKR2IJk0C8V4EpykA=; h=From:To:Subject:Date:In-Reply-To:References:From; b=Eo13ekvfk8KcHtF271F4HSGs7pXWBnR5a1wTAmj5m7eFf3QMPNgFTTFwwXVQutbuG cbKUS2fLmI3Y0ePHJ4gOwd1AVfQNQSG8JoGWtPl/6oQgYXjGeCaTY5f0rqS+tdg7v9 LGy/kB/orLFMo8I7a4ZB3zLVMLY66yTz0vJta5fM= From: "anlauf at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/110311] [14 Regression] regression in tree-optimizer Date: Fri, 30 Jun 2023 18:57:52 +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: 14.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: anlauf 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=3D110311 --- Comment #34 from anlauf at gcc dot gnu.org --- A few more data points: reverting r13-6361-g8020c9c42349f51f75239b on 13-branch fixes the issue: no fprem generated, no FPE. Adding -ffinite-math-only to the modified 13-branch restores the FPE. Compiling the affected module (only) with 12-branch and linking everything with 14-mainline shows the same: fprem is used only with -ffinite-math-only, and I get an FPE even with 12-branch in that case. Same with 11-branch. I am still not sure why it cannot be reproduced with a smaller example, thus I hope that J=C3=BCrgen can provide a significantly smaller reproducer= .=