Message ID | 20230221120230.596966-72-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 s9csp1846050wrn; Tue, 21 Feb 2023 04:58:23 -0800 (PST) X-Google-Smtp-Source: AK7set+XaTw7UiklEhou9k12dIqINDXORYJXgGB7m5FMChWXf7u1LPTzK6RIhqjpI4A96LuoWGCO X-Received: by 2002:a17:906:1689:b0:8af:2fa1:5ae5 with SMTP id s9-20020a170906168900b008af2fa15ae5mr11706856ejd.53.1676984302871; Tue, 21 Feb 2023 04:58:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1676984302; cv=none; d=google.com; s=arc-20160816; b=x2FnrrjMaDkyVZ7Ea8QRIwwTPm6s87F82Ky6K4MOxHGWb1CM4VEGYON5sc7K+fWnu2 Rb1Z+WX27dSxaPAaVsypw/fEsIPyE2G0fAwGLeLWIWxN/HhPNRBRSEEaLi5XiNduWWqi QbqgNrfExrWKYpYOfbjlxf98Grtx9iEYCqm4xSlJtxW6s7/Q3rz9x1U0cFslbVLHD151 EAeVu/TEsb3KjbGQ8ilGqgGSm6ltlszkqULTP59dNxs1DayBcaNn3BeYSnLAp+emcaM4 orlgX2toOKGSHjiMrgyKAaP+S8dXjKthN97mjKg9AGn00LHRAyuIHkeNpYVpIENPal5g bqpg== 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=d/AqaGysgxq4MidozOILvtZvF8LJOjPiVhDS6pfLOmI=; b=h0lMnA85+AKVmcjVERVGo8mPxdbbEBAPbq3EDN8mWqpyuBkl7ELXwwDRpDDJzheekC U3WkQHN7OEHknbugdyNYW4SErLU/8WU10x06HEMz1RieGoFGtLZvGMe8eDM3A0Y0tDdN i/BMCaG7STbHAM45YRxwPeZ+wVakValiaCmh+xB8lDixTAsS2tCRf86jh25wKqcG2dnB flPw+B4cQN+Jm0KSjIcUiSfDOLsJDF1je4ZynJQWSt0kfWLlujgPV+d0cGFhjM5j7tmt Y4B7iV/W3MSfT6xvXsoT0yFzz0PL5KQaQiMwt9rWeaZrbdkoiQX/assPaUKYLVEPf3/r kfog== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@embecosm.com header.s=google header.b=AIiH2Pqi; 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 fe8-20020a1709072a4800b008d68d018141si4596069ejc.402.2023.02.21.04.58.22 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 Feb 2023 04:58:22 -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=AIiH2Pqi; 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 6F5623940CDF for <ouuuleilei@gmail.com>; Tue, 21 Feb 2023 12:20:26 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from mail-wr1-x433.google.com (mail-wr1-x433.google.com [IPv6:2a00:1450:4864:20::433]) by sourceware.org (Postfix) with ESMTPS id 7405738323F8 for <gcc-patches@gcc.gnu.org>; Tue, 21 Feb 2023 12:04:23 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 7405738323F8 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-x433.google.com with SMTP id p8so4292006wrt.12 for <gcc-patches@gcc.gnu.org>; Tue, 21 Feb 2023 04:04:23 -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=d/AqaGysgxq4MidozOILvtZvF8LJOjPiVhDS6pfLOmI=; b=AIiH2PqiR7JQ9iPUUOtiB/wInjn/jUqlXcfugP5BB1cYL+441vImCpqM5AfSEsSJ2P vVYxA3IEBGqbL40DvAo/O3mrFpbE+QBhP1kgJVPD/w/fE7o1T44lXOHwlw//yHzrwKa1 U0PNzC5HKSuzhwoIHcoJQg+H3KqFN2dgl6kAD/dls6qYYhBOAFflJ9H+jflaVzYya+N9 TrOx2ICsN/6cb5AU8EUroEA/TRE22lMjpGMS20DS/9so4EjhyNr590cVQFWBc/jiVwNI 1eggqcqcr6e4IQNXQEOwcHaZpty5um3O9FZOxWLuI+X+aN7dbUH/4brWQfRd3KQxTGS5 8Dyw== 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=d/AqaGysgxq4MidozOILvtZvF8LJOjPiVhDS6pfLOmI=; b=aGXi+eYSJ2np2XBwPk6+03ATATG3rywlu7HI7z61nV+E6qasvvfBb30J3ytk2Mp+4G 1BS/w2WPKpZaldT+JJlmN05ceTDn+wn43FW0mYIgOW+xpdu7ImJnqkuxcAYZIxVnrdUB RY/GWhIlfK1dzAdQsjnpUvuUddUP+APOwq0DaKOt0xprevLYI8+fL556TA6UbxQBFoMo FuFvd+dTc9qnRp1d0fPa9nv0sLg9KwOUeclwip0/5YhZ8NPWFho0xmzzJWRwUNjCER50 eWxFDjvsTq9MiT1j7sCeign/Svi/VNX36H1PulgbxzExHgnx4pP0z+8EwdHNoPKONpya r/Vg== X-Gm-Message-State: AO0yUKV1jaLwqaG//AOBysiDGS4gwW92EM2EiH4FWaNx2mw7JqIBeotB zoF88nwmbUsvnef3X1OmDsZMdNQIoST3ckA8LQ== X-Received: by 2002:a5d:500f:0:b0:2c5:58b9:d76e with SMTP id e15-20020a5d500f000000b002c558b9d76emr4365242wrt.40.1676981062101; Tue, 21 Feb 2023 04:04:22 -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.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 Feb 2023 04:04:21 -0800 (PST) From: arthur.cohen@embecosm.com To: gcc-patches@gcc.gnu.org Cc: gcc-rust@gcc.gnu.org, Arthur Cohen <arthur.cohen@embecosm.com> Subject: [committed 071/103] gccrs: typecheck: Fix overzealous `delete` call Date: Tue, 21 Feb 2023 13:02:01 +0100 Message-Id: <20230221120230.596966-72-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?1758445492398527399?= X-GMAIL-MSGID: =?utf-8?q?1758445492398527399?= |
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: Arthur Cohen <arthur.cohen@embecosm.com>
gcc/rust/ChangeLog:
* typecheck/rust-tyty-call.cc (TypeCheckCallExpr::visit): Fix extra call
to `delete`.
---
gcc/rust/typecheck/rust-tyty-call.cc | 1 -
1 file changed, 1 deletion(-)
diff --git a/gcc/rust/typecheck/rust-tyty-call.cc b/gcc/rust/typecheck/rust-tyty-call.cc index 0c9e9f488fd..d520b595e43 100644 --- a/gcc/rust/typecheck/rust-tyty-call.cc +++ b/gcc/rust/typecheck/rust-tyty-call.cc @@ -68,7 +68,6 @@ TypeCheckCallExpr::visit (ADTType &type) return; } - delete res; i++; }