Message ID | 20230405140411.3016563-35-arthur.cohen@embecosm.com |
---|---|
State | Accepted |
Headers |
Return-Path: <gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp349405vqo; Wed, 5 Apr 2023 07:27:44 -0700 (PDT) X-Google-Smtp-Source: AKy350ZRagqy6ttfL3jr06WyMV1S8T/kwwe7moN9nRRHV7uNB1/FQeg4u0ADQDDbqXUtsCMKPlZ6 X-Received: by 2002:aa7:d659:0:b0:502:52dd:57a2 with SMTP id v25-20020aa7d659000000b0050252dd57a2mr2188771edr.24.1680704864428; Wed, 05 Apr 2023 07:27:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680704864; cv=none; d=google.com; s=arc-20160816; b=yLCl8y+ialfx9RY+lijmzJ0fJee+GCGNxyDuoi1jsO35QzfUZ6P76QPBFUg3sFfY9y RCkNo8J4A6ciVvel5SJKaTu/+V20ceN8vLsCTnnQE+XKsPVG+A0kENHfabmj99qX8qgw YkDPR2dgfZ6Mv5rLiGFF1Tgn350IB2WeuFeaRMnWldPR7CVo4HozFHEK5C8MRAkjss2D zaiDMRXdMGxqH/rTY2CjCG0IGHF0H1fZFWZfHR+xwri5c41LPKjdUaJeYb/+XqE0TiOq oEyuSaY5oijPZbc6Y5ohl1pWOvLIgzw6EwzbJbJrUTX/Mvy6uKEw72Vl3IQR0cjoq2nn P8eg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:reply-to:list-subscribe:list-help:list-post :list-archive:list-unsubscribe:list-id:precedence :content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature:dmarc-filter :delivered-to; bh=IJv94FwdxVU7qFLsBfp5aqsTm7BXiKJFFXjCIiZgNqc=; b=fm2ffXd/iynNf1pe46UkoviQiN059ADQknNeSp3H3AGlkcd34C9IaNRmcuFhBjMf76 rw7lhBZ5ruJK1GFPISS1hFTCtsMcvXreBnnUnfRYUfpHn7oTgbQIw5Tmdc4CmroY5NL7 VIWUgo+oIm7BGeCag98Q3smL+WtPLA/o2URrfPkNNSWtSt+M2Aqj642M513LXeDncLI6 b426/mY7Du6VZs8AHRgZupV3pGMm47BoyuPXOXbeoJZn2J73GH/H4wQQP5Hu1pkQDDyO onmagjCxPkGIn7/VrvR5gm659hDCnSN6GamCW9lvPtLw1RzYV7pVBw8Y1FKh543GZdmt yRbg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@embecosm.com header.s=google header.b=emltIYwb; spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org" Received: from sourceware.org (server2.sourceware.org. [2620:52:3:1:0:246e:9693:128c]) by mx.google.com with ESMTPS id b7-20020a056402138700b005024a8c6c30si3118609edv.272.2023.04.05.07.27.44 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 05 Apr 2023 07:27:44 -0700 (PDT) Received-SPF: pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) client-ip=2620:52:3:1:0:246e:9693:128c; Authentication-Results: mx.google.com; dkim=pass header.i=@embecosm.com header.s=google header.b=emltIYwb; spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org" Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 865B538E7D44 for <ouuuleilei@gmail.com>; Wed, 5 Apr 2023 14:11:47 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org 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 <gcc-patches@gcc.gnu.org>; 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 <gcc-patches@gcc.gnu.org>; 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-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 <powerboat9.gamer@gmail.com> 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> 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 X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-patches mailing list <gcc-patches.gcc.gnu.org> List-Unsubscribe: <https://gcc.gnu.org/mailman/options/gcc-patches>, <mailto:gcc-patches-request@gcc.gnu.org?subject=unsubscribe> List-Archive: <https://gcc.gnu.org/pipermail/gcc-patches/> List-Post: <mailto:gcc-patches@gcc.gnu.org> List-Help: <mailto:gcc-patches-request@gcc.gnu.org?subject=help> List-Subscribe: <https://gcc.gnu.org/mailman/listinfo/gcc-patches>, <mailto:gcc-patches-request@gcc.gnu.org?subject=subscribe> Reply-To: arthur.cohen@embecosm.com Errors-To: gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org Sender: "Gcc-patches" <gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org> X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1762346783963803610?= X-GMAIL-MSGID: =?utf-8?q?1762346783963803610?= |
Series |
[committed,01/88] gccrs: fatal_error_flag: Fix typo in error message
|
|
Checks
Context | Check | Description |
---|---|---|
snail/gcc-patch-check | success | Github commit url |
Commit Message
Arthur Cohen
April 5, 2023, 2:03 p.m. UTC
From: Owen Avery <powerboat9.gamer@gmail.com> gcc/rust/ChangeLog: * backend/rust-compile-expr.cc (CompileExpr::visit): Removed copy-pasted comment. Signed-off-by: Owen Avery <powerboat9.gamer@gmail.com> --- 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) {