From patchwork Wed Aug 31 12:34:17 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?Martin_Li=C5=A1ka?= X-Patchwork-Id: 57205 Return-Path: X-Original-To: patchwork@sourceware.org Delivered-To: patchwork@sourceware.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 0F792383CCF3 for ; Wed, 31 Aug 2022 12:34:36 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from smtp-out1.suse.de (smtp-out1.suse.de [IPv6:2001:67c:2178:6::1c]) by sourceware.org (Postfix) with ESMTPS id 506473858004 for ; Wed, 31 Aug 2022 12:34:19 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 506473858004 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=suse.cz Authentication-Results: sourceware.org; spf=fail smtp.mailfrom=suse.cz Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out1.suse.de (Postfix) with ESMTPS id 2BF0B21AA9 for ; Wed, 31 Aug 2022 12:34:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1661949258; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=OdsrV+MjSg1Ou8OO3n+yba/dD+t5DpwFkm1xLcksv5Y=; b=p6JDKucXJRpbCitaQvkL8oKFie/vCsiULNrgZPheOLsABPOU5F+lWlEu94qp5I/BxFzwxt 8xaE1w2Ktnc5cjbiVXa+ZEwm8WuyMB/fHm54MjIV8XP1eLPo+N7QHTITPE0AcBqmX8BD4T 3BG+v0OeY8Crk22ZFIRPXNz5noRX2So= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1661949258; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=OdsrV+MjSg1Ou8OO3n+yba/dD+t5DpwFkm1xLcksv5Y=; b=8UJ5yCqvN5CYlADHK0WABHUv60p+490w/5BkarrRBQJp/f1DjRdIkwyaVWB7OUXd9WdvTK Jdmh3Vj2zI58KVAw== Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id 1651713A7C for ; Wed, 31 Aug 2022 12:34:18 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id M+B5BEpVD2PxHQAAMHmgww (envelope-from ) for ; Wed, 31 Aug 2022 12:34:18 +0000 Message-ID: <2fcd9d72-f973-864b-0673-cb4daadf9724@suse.cz> Date: Wed, 31 Aug 2022 14:34:17 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.2.0 From: =?utf-8?q?Martin_Li=C5=A1ka?= Subject: [PATCH (pushed)] remove unused function To: gcc-patches@gcc.gnu.org Content-Language: en-US X-Spam-Status: No, score=-11.9 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, SPF_HELO_NONE, SPF_SOFTFAIL, TXREP, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gcc-patches-bounces+patchwork=sourceware.org@gcc.gnu.org Sender: "Gcc-patches" PR tree-optimization/106789 gcc/ChangeLog: * range-op-float.cc (default_frelop_fold_range): Remove the function. --- gcc/range-op-float.cc | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/gcc/range-op-float.cc b/gcc/range-op-float.cc index d859309f863..c30f2af391c 100644 --- a/gcc/range-op-float.cc +++ b/gcc/range-op-float.cc @@ -232,22 +232,6 @@ frange_drop_ninf (frange &r, tree type) r.intersect (tmp); } -// Default implementation of fold_range for relational operators. -// This amounts to passing on any known relations from the oracle, iff -// we know the operands are not NAN or -ffinite-math-only holds. - -static inline bool -default_frelop_fold_range (irange &r, tree type, - const frange &op1, const frange &op2, - relation_kind rel, relation_kind my_rel) -{ - if (frelop_early_resolve (r, type, op1, op2, rel, my_rel)) - return true; - - r.set_varying (type); - return true; -} - // (X <= VAL) produces the range of [MIN, VAL]. static void