From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wr1-x42d.google.com (mail-wr1-x42d.google.com [IPv6:2a00:1450:4864:20::42d]) by sourceware.org (Postfix) with ESMTPS id 0523B3857033 for ; Wed, 5 Apr 2023 14:05:53 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 0523B3857033 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=embecosm.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=embecosm.com Received: by mail-wr1-x42d.google.com with SMTP id j24so36392456wrd.0 for ; Wed, 05 Apr 2023 07:05:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=embecosm.com; s=google; t=1680703552; h=content-transfer-encoding:mime-version:reply-to:references :in-reply-to:message-id:date:subject:cc:to:from:from:to:cc:subject :date:message-id:reply-to; bh=IJv94FwdxVU7qFLsBfp5aqsTm7BXiKJFFXjCIiZgNqc=; b=emltIYwbesFQ69i36efGvsGu0HbAw90lCqROVYEUhq1trJjVq1v1sOVmj5HYrwQYdy fol7PILBKrFIsyxmzP9w9NtYl97sL474yPGMOOFSHI6mvnAWyZOCDEyFdPlBTwOFuu10 8UtveEyIFnoLYbDohBDwtETRU25k2j68cx5AoOG8rtFMNukSaRP60v5f1uTzd5fJxMWe msKv3/7zzDdz+QYt+sWViqDpddwmJ0lkArrJzyw7pfxsOWHGEOgJbBNXvp8CyhZ/18v5 aLfYHFB+AJM7709mVbTynZe9Zrj99E6zpr4AlzJlHeuCbAXx3R+2WEw2Wp/niXX2QmS5 hKlw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680703552; h=content-transfer-encoding:mime-version:reply-to:references :in-reply-to:message-id:date:subject:cc:to:from:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=IJv94FwdxVU7qFLsBfp5aqsTm7BXiKJFFXjCIiZgNqc=; b=dKNiM6yiihp8ih5KtsK+4X7Qg3RKAeJTfsn5CUXW2GVfxjxaxjl+6M3athRSEeJjJI k2a7BZTa8aGbZChSNsI62tspcrJ/Mo9GcZJngMTuzZRfCnKM6KBkCC8Nr9qM+StcnZwo l1aO/RgEOcI7U0jY4VrdCmpmEZJeDjy8CVjC3dJnb/fEd+8Eauu+ztyp1PxXBT8mfZLm aE+djEB/6r1+vQWdikXK8WdyUA6V519U7T2rOchnyFoEsXoercj/Eq64DpKJd7RUSBaA 04lccy+CRvD6s81EvK6nbXlZlts/cI0JOYVw0gzKosu6xK1LcKZtp+PF/fVhzxFkaA7f TZAg== X-Gm-Message-State: AAQBX9e7KtI30r75pmDLf6JR0kbacJhNCADvKnzl92fTDX4BT7T7NuYi v68wdtzG9RE5F+QcYgqvRFcGQZxhhF3eGMTwVA== X-Google-Smtp-Source: AKy350YODeMuMBp2ryq4ulkvi94wQDglON+9HqZ5ja+VpQXsE3bprrGA9hxoTV1RW1O45GimpusaDA== X-Received: by 2002:adf:ce03:0:b0:2ce:a8f9:7cae with SMTP id p3-20020adfce03000000b002cea8f97caemr4696798wrn.53.1680703552129; Wed, 05 Apr 2023 07:05:52 -0700 (PDT) Received: from platypus.localdomain ([62.23.166.218]) by smtp.gmail.com with ESMTPSA id ay8-20020a05600c1e0800b003edddae1068sm2330150wmb.9.2023.04.05.07.05.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 05 Apr 2023 07:05:51 -0700 (PDT) From: arthur.cohen@embecosm.com To: gcc-patches@gcc.gnu.org Cc: gcc-rust@gcc.gnu.org, Owen Avery Subject: [committed 34/88] gccrs: Removed comment copy-pasted from gcc/tree.def Date: Wed, 5 Apr 2023 16:03:18 +0200 Message-Id: <20230405140411.3016563-35-arthur.cohen@embecosm.com> X-Mailer: git-send-email 2.40.0 In-Reply-To: <20230405140411.3016563-1-arthur.cohen@embecosm.com> References: <20230405140411.3016563-1-arthur.cohen@embecosm.com> Reply-To: arthur.cohen@embecosm.com MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-14.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 List-Id: From: Owen Avery gcc/rust/ChangeLog: * backend/rust-compile-expr.cc (CompileExpr::visit): Removed copy-pasted comment. Signed-off-by: Owen Avery --- gcc/rust/backend/rust-compile-expr.cc | 24 ------------------------ 1 file changed, 24 deletions(-) diff --git a/gcc/rust/backend/rust-compile-expr.cc b/gcc/rust/backend/rust-compile-expr.cc index 436fc924a13..c26f6f440ec 100644 --- a/gcc/rust/backend/rust-compile-expr.cc +++ b/gcc/rust/backend/rust-compile-expr.cc @@ -1341,30 +1341,6 @@ CompileExpr::visit (HIR::MatchExpr &expr) // SWITCH_ALL_CASES_P is true if the switch includes a default label or the // case label ranges cover all possible values of the condition expression - /* Switch expression. - - TREE_TYPE is the original type of the condition, before any - language required type conversions. It may be NULL, in which case - the original type and final types are assumed to be the same. - - Operand 0 is the expression used to perform the branch, - Operand 1 is the body of the switch, which probably contains - CASE_LABEL_EXPRs. It may also be NULL, in which case operand 2 - must not be NULL. */ - // DEFTREECODE (SWITCH_EXPR, "switch_expr", tcc_statement, 2) - - /* Used to represent a case label. - - Operand 0 is CASE_LOW. It may be NULL_TREE, in which case the label - is a 'default' label. - Operand 1 is CASE_HIGH. If it is NULL_TREE, the label is a simple - (one-value) case label. If it is non-NULL_TREE, the case is a range. - Operand 2 is CASE_LABEL, which has the corresponding LABEL_DECL. - Operand 3 is CASE_CHAIN. This operand is only used in tree-cfg.cc to - speed up the lookup of case labels which use a particular edge in - the control flow graph. */ - // DEFTREECODE (CASE_LABEL_EXPR, "case_label_expr", tcc_statement, 4) - TyTy::TypeKind scrutinee_kind = check_match_scrutinee (expr, ctx); if (scrutinee_kind == TyTy::TypeKind::ERROR) { -- 2.40.0