From patchwork Thu Oct 26 16:57:11 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Aldy Hernandez X-Patchwork-Id: 1855884 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=mimecast20190719 header.b=FjIVuq76; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gcc.gnu.org (client-ip=8.43.85.97; helo=server2.sourceware.org; envelope-from=gcc-patches-bounces+incoming=patchwork.ozlabs.org@gcc.gnu.org; receiver=patchwork.ozlabs.org) Received: from server2.sourceware.org (server2.sourceware.org [8.43.85.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4SGX6T4RWRz202k for ; Fri, 27 Oct 2023 03:57:53 +1100 (AEDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 9ED8E3857026 for ; Thu, 26 Oct 2023 16:57:51 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by sourceware.org (Postfix) with ESMTPS id C2E053858D20 for ; Thu, 26 Oct 2023 16:57:37 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org C2E053858D20 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=redhat.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org C2E053858D20 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=170.10.133.124 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1698339459; cv=none; b=sV5UB54Xao1UZKg+pIZy5y1aLo93n8zayygddd1Hca4j7Kgsz9kL3uTEenh5u9PGaZDcPCMs3YwKsxg2USmUzUTgTzoRGVJeX6a76sAZa7MwPPu1SvqE+ymLPAPZCFz+JY96rX2hiD63t7IBsX/CRsSs8v3NwOyr71s/KDfgAgY= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1698339459; c=relaxed/simple; bh=6D0I9aVEgldG6bP7u0ZlQ8q8dkemmceSNc6tIbVwxS4=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=IDhe2PGq4873CigClDXB3DRKiO/OiBRm9HcFoMAYKzSMtc+gHkseozwC7R9w8JctixJJF+Zf0HgavmN9tCCXmjzQRlRzLz+R63gT/3WnzR3R/t2IjbU0wdCCSpDvowTTfSpxkoxfp5FJ6emD9j9thnDayD+/tv3+GBiT7F45wvc= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1698339457; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=yNVrNfCHFZUOt0zxvnkzSxHCN6U8uSZx2q23Kw9dkbI=; b=FjIVuq76JznKKOdGiGdpQsvOvw6Su6GhDwioiw37NWyj2e+0LlkmMPryP2VAfNsFQaZjF6 NN/ZhOPktjOKZNde1e3cIgxTdQ16EU6qEf4Wz3s3uB06PHU8encg2+pE95I+BQwNbbM4Pa /VEFiLdkt7OPMh9vlZ8lMRndkUexQmg= Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-390-nA7-04eqPE-dR8f87Qet0A-1; Thu, 26 Oct 2023 12:57:26 -0400 X-MC-Unique: nA7-04eqPE-dR8f87Qet0A-1 Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.rdu2.redhat.com [10.11.54.2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id E920788D049 for ; Thu, 26 Oct 2023 16:57:25 +0000 (UTC) Received: from abulafia.quesejoda.com (unknown [10.22.33.87]) by smtp.corp.redhat.com (Postfix) with ESMTPS id C230940C6F79; Thu, 26 Oct 2023 16:57:25 +0000 (UTC) Received: from abulafia.quesejoda.com (localhost [127.0.0.1]) by abulafia.quesejoda.com (8.17.1/8.17.1) with ESMTPS id 39QGvO3j2443956 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT); Thu, 26 Oct 2023 12:57:25 -0400 Received: (from aldyh@localhost) by abulafia.quesejoda.com (8.17.1/8.17.1/Submit) id 39QGvOHU2443955; Thu, 26 Oct 2023 12:57:24 -0400 From: Aldy Hernandez To: GCC patches Cc: Andrew MacLeod , Aldy Hernandez Subject: [PATCH] [range-op] Remove unused variable in fold_range. Date: Thu, 26 Oct 2023 12:57:11 -0400 Message-ID: <20231026165722.2443842-1-aldyh@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.4.1 on 10.11.54.2 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com X-Spam-Status: No, score=-11.4 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_NONE, TXREP 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.30 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gcc-patches-bounces+incoming=patchwork.ozlabs.org@gcc.gnu.org Missed this... gcc/ChangeLog: * range-op-float.cc (range_operator::fold_range): Delete unused variable. --- gcc/range-op-float.cc | 1 - 1 file changed, 1 deletion(-) diff --git a/gcc/range-op-float.cc b/gcc/range-op-float.cc index ffa3dec133e..75816942f8c 100644 --- a/gcc/range-op-float.cc +++ b/gcc/range-op-float.cc @@ -62,7 +62,6 @@ range_operator::fold_range (frange &r, tree type, return true; } - frange res; rv_fold (r, type, op1.lower_bound (), op1.upper_bound (), op2.lower_bound (), op2.upper_bound (), trio.op1_op2 ());