From patchwork Tue Nov 8 08:42:34 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?Marc_Poulhi=C3=A8s?= X-Patchwork-Id: 16944 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp2571846wru; Tue, 8 Nov 2022 00:50:41 -0800 (PST) X-Google-Smtp-Source: AMsMyM5icwaSEbswSWYt+x7ZG7qQfJWq8K2JqBD9Qc9yRYxA6+STtX0mMJgJgpuhUvL3g6IHTx5k X-Received: by 2002:a05:6402:3512:b0:461:e146:d2e7 with SMTP id b18-20020a056402351200b00461e146d2e7mr55298411edd.39.1667897440934; Tue, 08 Nov 2022 00:50:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1667897440; cv=none; d=google.com; s=arc-20160816; b=MuqYvV2hLlQsl3U3YzylIg4AzYUeVaTBndr7iSq7AfsOc7zmDg+ZQXc0TmaQTIgFhO G6Xu0NS3rh7sazBfU/LgS6mZUkRRIA00kM1wsC4fuEDY+dS5rdiBXT/jW4FU9Zz8EeZ4 b9tljneJmNPLrxYnCzcz0tkaIiXIaPH2WvXSd6FoWRJnLD0lFjs4mlDsBuEMczJZ9AjT 6xlSIXWkkcjUo8K9ccp3RQ1yDGG/AoBffDxp73yNlg7yIFIVEUVPsKOVIBVCKtzFt88h z0wIIV60fTypsdfXyj1nNHmfMBVCjnq9ljcW0uQQYV+uJN2hC4qrSICYNujupCXqtmZp lWzQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:reply-to:from:list-subscribe:list-help:list-post :list-archive:list-unsubscribe:list-id:precedence :content-transfer-encoding:mime-version:message-id:date:subject:cc :to:dmarc-filter:delivered-to:dkim-signature:dkim-filter; bh=6HJhq7gj+wxThgCx5CjuZWpUJnYFs6TMmujhOBjF5IY=; b=BKxQ+lYMggz/7fb7B5ola+JQwIzBdAguJCquMrN3ZlY6SaNa6PAcEr8OsG0BV8MfU0 jaEL+zA0MhBosbs/UfH8uvrZzo+L4TFN5/CuIkFZWQx+PgMf8wbP2EJo/dFua1AoxGNP ym1iT0ipYjRvFnFivRdNIWRDmN0eiT5NtHjE82VeK3E7Uu6Aou3x9RXLOcxKs+dXuNm1 Tjk/wFShPp22kuCB2QcOgLpIrBxL7aYSkSjqjKmUiG3JSiRh0msht4v0mGLoGzm9lG5u jWn/pa484gBGUrmt8DJIeDI3Pc6xcTCfs2wPGny/W3HtdL6HQadekYo/Wi9QifmMAf0K 60yg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gcc.gnu.org header.s=default header.b=joWtIQdm; 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"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gnu.org Received: from sourceware.org (ip-8-43-85-97.sourceware.org. [8.43.85.97]) by mx.google.com with ESMTPS id p13-20020a05640210cd00b0045fd458991fsi10188084edu.428.2022.11.08.00.50.40 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 08 Nov 2022 00:50:40 -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=@gcc.gnu.org header.s=default header.b=joWtIQdm; 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"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gnu.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 69A5B3856944 for ; Tue, 8 Nov 2022 08:48:14 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 69A5B3856944 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1667897294; bh=6HJhq7gj+wxThgCx5CjuZWpUJnYFs6TMmujhOBjF5IY=; h=To:Cc:Subject:Date:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:From:Reply-To:From; b=joWtIQdm6exnpmzsMNRspF1LqxVZEw89ILySFk/XE6A2jzr3Peg6mYWjHBVXKHDYm CRxDs6DK1O/6B3NFydwXDdz0XVy6mth+EUCoJh0SK2G7b6CgvQ+zfTx2VFE1gJjDHT z/eChIEgyr96ferqGnJ+VrLZllsjEgJgk3ldYDrY= X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from mail-wr1-x431.google.com (mail-wr1-x431.google.com [IPv6:2a00:1450:4864:20::431]) by sourceware.org (Postfix) with ESMTPS id 2A7B5385840E for ; Tue, 8 Nov 2022 08:42:39 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 2A7B5385840E Received: by mail-wr1-x431.google.com with SMTP id k8so19834140wrh.1 for ; Tue, 08 Nov 2022 00:42:39 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=6HJhq7gj+wxThgCx5CjuZWpUJnYFs6TMmujhOBjF5IY=; b=U5wrPjy6Q2VP8U9WXthLJcTQPmz5rzVSt8KiYcdr0oTivcX10A4zpfvU1Ycn4qH51u aXw+G2DgFpXr59KpANxjfPQ0qhpGtZWcHdkWSkSqTusM4ymjYyr3mEuzy6j1tPsRPngn rVeAccVu445vqHeZgmS2a/GisnOdZZ5IEVVhk2IZJy48Onpj1MSTh7CAlPBtVek5osHh OmYdjok9KwW7g5HHdnrXm5YGYHYpPwq9YTp/G1ANgVQS/6PAvoD+JKD9oH9iRbupx5N+ 9rF517JS/sO0EQjjPSd9+mFvGX13Esd44rbbpOh/nFsA53waOONL1jiCKKcIEhAyyNW0 R80w== X-Gm-Message-State: ACrzQf2iRQj5v09XnS9HXdMQ5XZd1CFsWpu4Gnx5Fokpo2dpxicqulkD CjvqrngnhmpzyvgMTuaLPoJ3QphZhjlRYg== X-Received: by 2002:adf:e8cb:0:b0:236:7ae2:918e with SMTP id k11-20020adfe8cb000000b002367ae2918emr35052343wrn.613.1667896958031; Tue, 08 Nov 2022 00:42:38 -0800 (PST) Received: from localhost.localdomain (static-176-191-105-132.ftth.abo.bbox.fr. [176.191.105.132]) by smtp.gmail.com with ESMTPSA id bg20-20020a05600c3c9400b003c6bd12ac27sm11278214wmb.37.2022.11.08.00.42.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 08 Nov 2022 00:42:37 -0800 (PST) To: gcc-patches@gcc.gnu.org Cc: Eric Botcazou Subject: [COMMITTED] ada: Remove redundant line in Analyze_Qualified_Expression Date: Tue, 8 Nov 2022 09:42:34 +0100 Message-Id: <20221108084234.301451-1-poulhies@adacore.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-Spam-Status: No, score=-13.4 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: , X-Patchwork-Original-From: =?utf-8?q?Marc_Poulhi=C3=A8s_via_Gcc-patches?= From: =?utf-8?q?Marc_Poulhi=C3=A8s?= Reply-To: =?utf-8?q?Marc_Poulhi=C3=A8s?= Errors-To: gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org Sender: "Gcc-patches" X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1748917226863653617?= X-GMAIL-MSGID: =?utf-8?q?1748917226863653617?= From: Eric Botcazou The same statement is present a few lines above. gcc/ada/ * sem_ch4.adb (Analyze_Qualified_Expression): Remove redundant line. Tested on x86_64-pc-linux-gnu, committed on master. --- gcc/ada/sem_ch4.adb | 2 -- 1 file changed, 2 deletions(-) diff --git a/gcc/ada/sem_ch4.adb b/gcc/ada/sem_ch4.adb index f136e9715d7..489fb47247a 100644 --- a/gcc/ada/sem_ch4.adb +++ b/gcc/ada/sem_ch4.adb @@ -4389,8 +4389,6 @@ package body Sem_Ch4 is end loop; end if; end if; - - Set_Etype (N, T); end Analyze_Qualified_Expression; -----------------------------------