Message ID | 20230221120230.596966-75-arthur.cohen@embecosm.com |
---|---|
State | Unresolved |
Headers |
Return-Path: <gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp1846869wrn; Tue, 21 Feb 2023 05:00:13 -0800 (PST) X-Google-Smtp-Source: AK7set/wl216a3StUtvKMsWtbNDOXetK+e/UhUYwScYHWgNc1KPzHS2Mnn0ka+tqDytHlQViTiGt X-Received: by 2002:a05:6402:8d4:b0:4ad:a70c:e001 with SMTP id d20-20020a05640208d400b004ada70ce001mr3526771edz.21.1676984413416; Tue, 21 Feb 2023 05:00:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1676984413; cv=none; d=google.com; s=arc-20160816; b=W+3XSPNUKWoU4cCVFtBXPaH+C7gHzAhrVscBzbfmpeagi0eiN0xIqsKJ+7wIPOxT+q J89lnmkx5a/9/KgF0WdWPKY0SPYb1h9UC8hGxcg79PCFMVBWQmA5aWvqUMT9aDhEBH1V Vsxw6gOg5+baI+ZImEgLX7pk059kbkzy//LyrIvBFddA0XLDcP1IlNfbapdJYbQK8r4R LPfpik8+KozinnKGc0ptpdsok18+EvVse7hBoz7sEWSnh3Sj168/iz8vSL3sFFBRnozH rqD6fc3jGnnMMrFRqFlpLt3b9Ul+NenQALB7/S/HHFKGGLtKka3YBL3dZBg0g2JxEDYa yhng== 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=QF83OxrRWk1AKyEJS60vF2ZB2PDNOhaYtv6g19mPX1o=; b=V3WMOoeouuoRhh3hwBkkSHLX24MT57uikriUHgTcmZFdQ+mmNO+tnWiGp1i6qgPhPj dfZiDAM6LQkccDDNvgMbVJq8k2tVGF/pMl1mSWmZDpXmSnSASQoljfk+BOM7YDJtNdv7 FDI8PTwp0XyoyhqeZsEYkp4/de9BsLhMdl+RPwp+flNSAlCzYAfsAd8uCKVEA3ETW9Sq QGBzDU/8TTesJ5/pQmp/sU2rp229QGpM5dH23aGrdRWrKsQJFQzY5uXoZUbGrtEOm8IQ bSQVGml17EXUuwzyAlmtdGK5/c7MGkCffnY87bbNPwD3dou+pE8JXulwizYBZdXzDA// 31FA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@embecosm.com header.s=google header.b=AjXIFdss; spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org" Received: from sourceware.org (server2.sourceware.org. [8.43.85.97]) by mx.google.com with ESMTPS id u4-20020aa7d0c4000000b004aef6266c6bsi7117194edo.325.2023.02.21.05.00.13 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 Feb 2023 05:00:13 -0800 (PST) Received-SPF: pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 as permitted sender) client-ip=8.43.85.97; Authentication-Results: mx.google.com; dkim=pass header.i=@embecosm.com header.s=google header.b=AjXIFdss; spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 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 B75DC38DDF29 for <ouuuleilei@gmail.com>; Tue, 21 Feb 2023 12:21:04 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from mail-wr1-x436.google.com (mail-wr1-x436.google.com [IPv6:2a00:1450:4864:20::436]) by sourceware.org (Postfix) with ESMTPS id 11F153836EBD for <gcc-patches@gcc.gnu.org>; Tue, 21 Feb 2023 12:04:25 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 11F153836EBD 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-x436.google.com with SMTP id z8so3885206wrm.8 for <gcc-patches@gcc.gnu.org>; Tue, 21 Feb 2023 04:04:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=embecosm.com; s=google; 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=QF83OxrRWk1AKyEJS60vF2ZB2PDNOhaYtv6g19mPX1o=; b=AjXIFdssUfKp52wLRj5I5kIK+8GmfhaCEt/63R9jadeWL2AoBxKUH7OSQJlQKdOQfU /eMyvSdQFRjykHG9skcMGshHQ4eb7OXhclRZF/mh3/289vcb/oMNIGTZSVFnXV5/1HWX xigirIm/hDoM13n3fJTSOCjKmJAcuJnoPKrbZYS9JwCcQTF5snNLJ0AeXi670u3ORjVF 1YSbjDchIFpE7MU+DJhAYLyj2VhNcAwGa2BKjBF2hLRRDTVtlJIa0Xh7DgxRhj3QwcMZ JedKMOQ54mI0sCKN8JSE/JEy2l8c8OiuGgUa82h4X51EeD7asnpJkeHjwwCWuzeTdOhx J6Qw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=QF83OxrRWk1AKyEJS60vF2ZB2PDNOhaYtv6g19mPX1o=; b=XcApfU5SlNGZuQ6n+GU7bMucKjPI9IA8EdPFYvT0Fs21jwQtWIXG78NhuOSZo+ROIR zNiK9Wv0Y8v63iLF7Yb8+lR33aK4Odl6o9oTo/wI3RftyGxWSUZkb1gF81VGiGadt3XY I1pB37Wu76QH2ivK+z37acAGqcbGwcN5fVIut7RFnYWK6QUI5T+XHoO4S4K54iPENZrY ymiEhTs7coLawf4PJxNle/bgviHp1VYNRwFEwSDy+ReLihDZUNPpsbYFIPxTdq/QXM0I SByV8v/ha23P4CoHQk+QbseLuRSF/BPC6OYgxB0s/8+9HuZS4dcSATF9qANOoOlhwTmV hIwA== X-Gm-Message-State: AO0yUKWX75B17Cfarf1xFqauFg6NFWeMvqX6oQc5JbzH0G0DRmIy9SHg yqTSjRuleGAEHiTdaiz3tLSrpBGS7oLuY6QuPA== X-Received: by 2002:a5d:5489:0:b0:2c6:d392:5579 with SMTP id h9-20020a5d5489000000b002c6d3925579mr3096116wrv.16.1676981064474; Tue, 21 Feb 2023 04:04:24 -0800 (PST) Received: from platypus.localdomain ([62.23.166.218]) by smtp.gmail.com with ESMTPSA id c15-20020adffb4f000000b002c55b0e6ef1sm5013811wrs.4.2023.02.21.04.04.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 Feb 2023 04:04:23 -0800 (PST) From: arthur.cohen@embecosm.com To: gcc-patches@gcc.gnu.org Cc: gcc-rust@gcc.gnu.org, Jakub Dupak <dev@jakubdupak.com> Subject: [committed 074/103] gccrs: ast: Dump slice type Date: Tue, 21 Feb 2023 13:02:04 +0100 Message-Id: <20230221120230.596966-75-arthur.cohen@embecosm.com> X-Mailer: git-send-email 2.39.1 In-Reply-To: <20230221120230.596966-1-arthur.cohen@embecosm.com> References: <20230221120230.596966-1-arthur.cohen@embecosm.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-14.7 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=unavailable 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?1758445608525719627?= X-GMAIL-MSGID: =?utf-8?q?1758445608525719627?= |
Series |
[committed,001/103] gccrs: Fix missing dead code analysis ICE on local enum definition
|
|
Checks
Context | Check | Description |
---|---|---|
snail/gcc-patch-check | warning | Git am fail log |
Commit Message
Arthur Cohen
Feb. 21, 2023, 12:02 p.m. UTC
From: Jakub Dupak <dev@jakubdupak.com> gcc/rust/ChangeLog: * ast/rust-ast-dump.cc (Dump::visit): Add missing slice visitor. Signed-off-by: Jakub Dupak <dev@jakubdupak.com> --- gcc/rust/ast/rust-ast-dump.cc | 5 +++++ 1 file changed, 5 insertions(+)
diff --git a/gcc/rust/ast/rust-ast-dump.cc b/gcc/rust/ast/rust-ast-dump.cc index e5e051a46d8..b017c6ea592 100644 --- a/gcc/rust/ast/rust-ast-dump.cc +++ b/gcc/rust/ast/rust-ast-dump.cc @@ -1606,7 +1606,12 @@ Dump::visit (ArrayType &type) void Dump::visit (SliceType &type) { + // Syntax: + // [ Type ] + + stream << '['; visit (type.get_elem_type ()); + stream << ']'; } void