From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 37F363858C2A; Sat, 24 Jun 2023 11:47:18 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 37F363858C2A DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1687607238; bh=Z15TV5t6+BCAJu+4OPEDnqOSiJNqxUpkFEsuf01IZPs=; h=From:To:Subject:Date:In-Reply-To:References:From; b=fhUv7TxrAVP2798h6Cn3hZPRfsHTGklrdDriZ3tS8Y28qxgjft+DtpFIqTE148h5x hq10ajBHCsGdieF+z0/keFIic8x0oPQMMEw76orSAU5KqX/av1J2QF2DeToS5f2AT2 mqtJqs5ZTEOAiuFsOg1TDJ36Z94bL89GYW0bVKY0= 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: Sat, 24 Jun 2023 11: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: 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: 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=3D110311 anlauf at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- CC|anlauf at gmx dot de | --- Comment #15 from anlauf at gcc dot gnu.org --- (In reply to J=C3=BCrgen Reuter from comment #14) > Did anybody manage to reproduce this?=20 > Download https://whizard.hepforge.org/downloads/?f=3Dwhizard-3.1.2.tar.gz > You need OCaml as a prerequisite, though. > Then configure, make,=20 > cd tests/functional_tests > make check TESTS=3Dnlo_9.run > This will fail, as there are NaNs produced in our RNG module which are > presumably caused by this regression in the tree-optimizer. At the moment= I > am deeply struggling with generating a reproducer but I don't know how tb= h. I may be telling you the obvious, but here's what I do in cases where chang= es in optimization in new compilers cause failures and recompiling is expensiv= e: - create standalone-version of Fortran code and testcase - have two build trees in parallel, (a) working and (b) failing - relink by successively replacing objects in (a) by those from (b) - run each binary until the failure occurs In your case you are lucky in that you get a crash. If testing is expensive, it may be worth to do bisecting on sets of objects. I avoid building of shared libs for the project to ease testing. Note: there might be multiple bad objects. This works for me even with $$$$ compilers on $$$$ platforms, even if that takes a day or two.=