Message ID | 20240802071210.413366-24-poulhies@adacore.com |
---|---|
State | Committed |
Commit | 637b27b98076d8857aa62655bbb815a39f8f68bc |
Headers |
Return-Path: <gcc-patches-bounces~patchwork=sourceware.org@gcc.gnu.org> X-Original-To: patchwork@sourceware.org Delivered-To: patchwork@sourceware.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id E815A385DDEC for <patchwork@sourceware.org>; Fri, 2 Aug 2024 07:23:39 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from mail-lf1-x134.google.com (mail-lf1-x134.google.com [IPv6:2a00:1450:4864:20::134]) by sourceware.org (Postfix) with ESMTPS id 488EE385E45D for <gcc-patches@gcc.gnu.org>; Fri, 2 Aug 2024 07:12:44 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 488EE385E45D Authentication-Results: sourceware.org; dmarc=pass (p=quarantine dis=none) header.from=adacore.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=adacore.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 488EE385E45D Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2a00:1450:4864:20::134 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1722582768; cv=none; b=b7Y/dBs0M9/cPl0yYchgkbKjXpiSai52pGd5rB1yzJcMlh7RQIAdo7hveOUm/i5ZrXT9SRxHkGKTE6sBn15/KxOwGWCaKpXKcg7582Jy/jfAYQigacWFxZq+9xO+fXlxFBQVMctfJYo3tYD4mAWX3bLAPXQOD0hew3/8KsSmUF0= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1722582768; c=relaxed/simple; bh=nuWiPBFgzalcrduGFW8hzSFkkgcXo6nmfp5cEN+K5QI=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=nfazLvYQ9F8SFQES9aUd4z5uK4JCnr238SOL/DGenzoEpOjkYzmWlzdjVqwnJfZGZpUiDr+xXFm+cj/kldNL0l5LYjwXyyLqbrugi/EcjNdi2GwCr05DaQppiZsHrWawFx3cKDsy0rx2e+1Scp4hYqEz2hGihIFpXj/KD5b4Nng= ARC-Authentication-Results: i=1; server2.sourceware.org Received: by mail-lf1-x134.google.com with SMTP id 2adb3069b0e04-52f008aa351so11247112e87.0 for <gcc-patches@gcc.gnu.org>; Fri, 02 Aug 2024 00:12:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=adacore.com; s=google; t=1722582763; x=1723187563; darn=gcc.gnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=HJiYDS95h2waClrzdCyd1m4+ZqHAUdYQPyf6RJVhYGQ=; b=dVwHVzVNw8de7JTmSUY3V7l7dxwR9mLKurSAXfnhLDRXULtpUwK4rmI+c/Au1FQZtH 0Oz2ISMqE5WRUGKjfW1424gns8rs9iK/EiW49eZIWljC7KjmjEsfrBr8Yf7KzwS+ltNo jAbxw/hIBl4Zagqij32a5wSX+PE0Z93iV+4YsNxDbDyye+IsAAtZrg2ZPRU1AYhCTKa0 vHK2TE4mUTqoZ0lSPTlSYrsv4T4yTAd6Ety6V3wltGxSQTWZQ5xbvwgkYVuegQRLSz6z sHlXkzFhzAy6yOiS1+KI/g8s65nh7Cp7FlSjM+PNisPHnwOnmKk+t+/kMD8KMsGgf9x9 V18g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1722582763; x=1723187563; h=content-transfer-encoding:mime-version: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=HJiYDS95h2waClrzdCyd1m4+ZqHAUdYQPyf6RJVhYGQ=; b=vsRByM/NlZHsddkp96Lj1yVWWvA2NGzlLPPCRoPfLijNgHO/1OfO/ZAJLjfF+fE9Dc Qhr3GNdyJYVgwJfaeRN7mZn1Airw+TLBqhJwcIDh8B0u6CSfopp6QcYAtsIICoA57ykD 36atMUVApKNFnpbV+R7Vlk1aLX4LJdfIbOcGSxenALEZfl3HB3nJ955H9gjiCEbQaZ6m KB+44Z/McJSDxj/urfH4ie+nLoGT6EU4JRNqY4eaDEiLpgoIaRKW7LEoMnkKNq/LFFiA qsOEWZiF5ZD89gsBVoU/gHKLExsLb0PsQ3a9iNo1/ICRJ5+csXgTAXN1b5Mtg9l714oi P14A== X-Gm-Message-State: AOJu0Yz1onReYZ7X55CWirVqh60R8JWJEQrM5TFlXyzD9O+ZMyq14fWE QXM27XhbmFwpaj/pdMfiBwvnJmIrFn9OHFyynjQ9fzeFpeyf62FPZKGM+GKWihPanzDznQItFu+ QcA== X-Google-Smtp-Source: AGHT+IFfsd71HzwRb092wbAmjPwZsnqCV/y0RlAEMuiI2n+wI1f4XnzzWafk7/ieGrE7/f0VFL3AYQ== X-Received: by 2002:a05:6512:398a:b0:52c:def3:44b with SMTP id 2adb3069b0e04-530bb37f552mr1369676e87.31.1722582762667; Fri, 02 Aug 2024 00:12:42 -0700 (PDT) Received: from localhost.localdomain ([2001:861:3382:1a90:b6aa:4751:9ea1:da1e]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-36bbd059932sm1195770f8f.69.2024.08.02.00.12.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 02 Aug 2024 00:12:42 -0700 (PDT) From: =?utf-8?q?Marc_Poulhi=C3=A8s?= <poulhies@adacore.com> To: gcc-patches@gcc.gnu.org Cc: Piotr Trojanek <trojanek@adacore.com> Subject: [COMMITTED 24/26] ada: Remove unused null branch Date: Fri, 2 Aug 2024 09:11:41 +0200 Message-ID: <20240802071210.413366-24-poulhies@adacore.com> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20240802071210.413366-1-poulhies@adacore.com> References: <20240802071210.413366-1-poulhies@adacore.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-13.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=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.30 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> Errors-To: gcc-patches-bounces~patchwork=sourceware.org@gcc.gnu.org |
Series |
[COMMITTED,01/26] ada: Fix detection of suspicious loop patterns
|
|
Checks
Context | Check | Description |
---|---|---|
linaro-tcwg-bot/tcwg_gcc_build--master-arm | fail | Patch failed to apply |
linaro-tcwg-bot/tcwg_gcc_build--master-aarch64 | fail | Patch failed to apply |
Commit Message
Marc Poulhiès
Aug. 2, 2024, 7:11 a.m. UTC
From: Piotr Trojanek <trojanek@adacore.com>
Code cleanup; semantics is unaffected.
gcc/ada/
* exp_util.adb (Insert_Actions): Remove null ELSE branch.
Tested on x86_64-pc-linux-gnu, committed on master.
---
gcc/ada/exp_util.adb | 3 ---
1 file changed, 3 deletions(-)
diff --git a/gcc/ada/exp_util.adb b/gcc/ada/exp_util.adb index bde50687597..ef8c91dfe94 100644 --- a/gcc/ada/exp_util.adb +++ b/gcc/ada/exp_util.adb @@ -8186,9 +8186,6 @@ package body Exp_Util is end if; return; - - else - null; end if; -- Special case: an attribute denoting a procedure call