From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 1D73C3853567; Thu, 10 Nov 2022 10:40:11 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 1D73C3853567 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1668076811; bh=iLc46R+2jKLdvAFnncWvluHBn3NYWTxLH5/0n1nsODo=; h=From:To:Subject:Date:In-Reply-To:References:From; b=qrMzOJL41R0W8mQj/D3QHnEdFO5zmJjj1MLFnETxxWwOXny7eQzEbgs5/2mAbdL5v 7jDVQkh/XG63HDJ8vK3jh2O4EJdknGsJmKENdjdA+mKqSygCej1XJfi7V/3vWy0tX+ it74Vw/puz9mHJj7cMJqUh/1UlPOKlMJeQYQ3EXc= From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/107569] [13 Regression] Failure to optimize std::isfinite since r13-3596 Date: Thu, 10 Nov 2022 10:40:08 +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: 13.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 13.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.isobsolete attachments.created 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=3D107569 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #53865|0 |1 is obsolete| | --- Comment #23 from Jakub Jelinek --- Created attachment 53866 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D53866&action=3Dedit gcc13-pr107569.patch Updated version of the patch I'll test now (if you don't have any nits). Besides the thinko I've changed rv_fold to have relation_kind argument rath= er than relation_trio, passing the latter to a function that doesn't take rang= es of the operands/result but just the real values is weird.=