From patchwork Sun Nov 20 02:26:52 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jeff Law X-Patchwork-Id: 1706692 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gcc.gnu.org (client-ip=2620:52:3:1:0:246e:9693:128c; helo=sourceware.org; envelope-from=gcc-patches-bounces+incoming=patchwork.ozlabs.org@gcc.gnu.org; receiver=) Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=ventanamicro.com header.i=@ventanamicro.com header.a=rsa-sha256 header.s=google header.b=R6jCoHmk; dkim-atps=neutral Received: from sourceware.org (server2.sourceware.org [IPv6:2620:52:3:1:0:246e:9693:128c]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4NFDvS2Nj6z23lt for ; Sun, 20 Nov 2022 13:27:46 +1100 (AEDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 2797F393BA7C for ; Sun, 20 Nov 2022 02:27:43 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from mail-pg1-x531.google.com (mail-pg1-x531.google.com [IPv6:2607:f8b0:4864:20::531]) by sourceware.org (Postfix) with ESMTPS id 467BA3898399 for ; Sun, 20 Nov 2022 02:26:56 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 467BA3898399 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=ventanamicro.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=ventanamicro.com Received: by mail-pg1-x531.google.com with SMTP id h193so8236094pgc.10 for ; Sat, 19 Nov 2022 18:26:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ventanamicro.com; s=google; h=subject:from:to:content-language:user-agent:mime-version:date :message-id:from:to:cc:subject:date:message-id:reply-to; bh=Cok6yGoOTdOcipnAxuhy6JiqXzoM3DaEuiLMuWWWJzw=; b=R6jCoHmk6ibDF8gu9yfAmRwICXlRfxb6Bw7WozaCYg4JlqcL6EGXpE+iqLa7Gwh8x9 yVvw/9M0+SoXsl2bpr2GiHiRt68gV/Ml7FiSbwPl4s4ZeP1xOYOuTk3ZVTkc/o95JQsc 5cEihxWOk5bvucFyTNC3i5WkRGC6AfHBDBl/IOY62oWXFk8tDpJY1/nDrHvsHEb3+nlb oPJpim9vMhmU5jswSMrYCT9glm/1CUhBYQ8f4M3WmB3EEsz3iyrBIxRUzGqlj9YftUQd f5BXT8xazjDt0nh1x/m2+LTuhbkPpucMPz/uax0PAimkv6LHzdRiGtHNhf2GMajEatHf 4rJQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=subject:from:to:content-language:user-agent:mime-version:date :message-id:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=Cok6yGoOTdOcipnAxuhy6JiqXzoM3DaEuiLMuWWWJzw=; b=vUonNiEqrD72tLnwr0ZPEffjt56X1wEq/AKKyeBv5au0vyw696vIhO1U9fsq7B/p2I +btNXKlC/mZ1W7mXoYy7HzeCKIXZftEha38In70NAfNlBUn4LuICYJyaG6Sp5omJuHHw jO3zKBfDRjQ2ESn5JMOlngVeYrNP3VMxx3T44eX7eamJmUJan/+Fr8j2qzcASf/K7N63 wpz8JfLmlkowoUBBgrsKDqbmfzpR/9FzghVpfzneL/yXhFjX0Zv6ODu1CQOrzJ6ZsHvZ rZz7i27MTHcvncQPOet2hDpqjt5LBrGpT1Ab8jMayCIpxklfXCkn0RZmJYO7/qnqEvOW +h4w== X-Gm-Message-State: ANoB5pm70y86IrUv+LgOyxKNemW+MW2qqSZDywsLMqlGN+h/DOK0ggEY hYPq8m/xbAqdXP/pkcl7LkkM/dOZQp76jg== X-Google-Smtp-Source: AA0mqf4Brh38y8v5qSXsOhnfs55Sskz+rfYY8Rxlt/JYHrLrng1+61CL3FQuteElR4RMSoEWUzmBtw== X-Received: by 2002:a63:5a62:0:b0:476:ed2a:6215 with SMTP id k34-20020a635a62000000b00476ed2a6215mr12744208pgm.559.1668911214848; Sat, 19 Nov 2022 18:26:54 -0800 (PST) Received: from ?IPV6:2601:681:8600:13d0::f0a? ([2601:681:8600:13d0::f0a]) by smtp.gmail.com with ESMTPSA id t8-20020a170902e84800b0017a0f40fa19sm6539862plg.191.2022.11.19.18.26.53 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 19 Nov 2022 18:26:53 -0800 (PST) Message-ID: <66077669-ff3c-f90a-cd86-eea49878863c@ventanamicro.com> Date: Sat, 19 Nov 2022 19:26:52 -0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.3.1 Content-Language: en-US To: "gcc-patches@gcc.gnu.org" From: Jeff Law Subject: [committed] [PR other/104044] Remove extraneous semicolons X-Spam-Status: No, score=-11.6 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, 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.29 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 Sender: "Gcc-patches" As noted in BZ104044 we've got a few places where we have extraneous semicolons. Committed as obvious to the trunk, Jeff commit 6d82e0fea5f988e829912aaa70a9964a81ad4e5e Author: Jeff Law Date: Sat Nov 19 19:21:37 2022 -0700 [PR other/104044] Remove extraneous semicolons gcc/ PR other/104044 * config/mn10300/mn10300.cc (mn10300_print_operand): Remove extraneous semicolon. * config/nvptx/nvptx.cc (nvptx_goacc_reduction_fini): Likewise. gcc/jit/ PR other/104044 * jit-playback.cc (playback::lvale::mark_addressable): Remove extraeous semicolon diff --git a/gcc/config/mn10300/mn10300.cc b/gcc/config/mn10300/mn10300.cc index 2a58dd9256d..f887d9e2808 100644 --- a/gcc/config/mn10300/mn10300.cc +++ b/gcc/config/mn10300/mn10300.cc @@ -285,12 +285,12 @@ mn10300_print_operand (FILE *file, rtx x, int code) REAL_VALUE_TO_TARGET_DOUBLE (*CONST_DOUBLE_REAL_VALUE (x), val); fprintf (file, "0x%lx", val[0]); - break;; + break; case E_SFmode: REAL_VALUE_TO_TARGET_SINGLE (*CONST_DOUBLE_REAL_VALUE (x), val[0]); fprintf (file, "0x%lx", val[0]); - break;; + break; case E_VOIDmode: case E_DImode: mn10300_print_operand_address (file, @@ -344,7 +344,7 @@ mn10300_print_operand (FILE *file, rtx x, int code) REAL_VALUE_TO_TARGET_DOUBLE (*CONST_DOUBLE_REAL_VALUE (x), val); fprintf (file, "0x%lx", val[1]); - break;; + break; case E_SFmode: gcc_unreachable (); case E_VOIDmode: diff --git a/gcc/config/nvptx/nvptx.cc b/gcc/config/nvptx/nvptx.cc index 2fe120b3873..ed3807bee43 100644 --- a/gcc/config/nvptx/nvptx.cc +++ b/gcc/config/nvptx/nvptx.cc @@ -7043,7 +7043,7 @@ nvptx_goacc_reduction_fini (gcall *call, offload_attrs *oa) enum tree_code op = (enum tree_code)TREE_INT_CST_LOW (gimple_call_arg (call, 4)); gimple_seq seq = NULL; - tree r = NULL_TREE;; + tree r = NULL_TREE; push_gimplify_context (true); diff --git a/gcc/jit/jit-playback.cc b/gcc/jit/jit-playback.cc index bf006903a44..069ed705609 100644 --- a/gcc/jit/jit-playback.cc +++ b/gcc/jit/jit-playback.cc @@ -1647,7 +1647,7 @@ bool playback::lvalue:: mark_addressable (location *loc) { - tree x = as_tree ();; + tree x = as_tree (); while (1) switch (TREE_CODE (x))