From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 080CC385803E for ; Mon, 7 Nov 2022 08:39:44 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 080CC385803E Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=adacore.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=adacore.com Received: by mail-wr1-x42d.google.com with SMTP id v1so14999269wrt.11 for ; Mon, 07 Nov 2022 00:39:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=adacore.com; s=google; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=xLMJDBhs1guvJr37H3Bu/sj8VvUc74nudReRgORG5sc=; b=k1TDtgxrwTaz5qlxAL+Q5QU3aD3fVnGZNhd7tTKHOPbg1Uleilh6psB2xgH65wAlVT GejZra7E7sSbP+KICWHbcVn+fGP49MTEoMz7wDiLDUDGlIv0+co4BYwUivMCma9JwG3K gPQoxNIeCPj53gWWxR0AeK+D0oT7lKb9Vm972bIcG9AKQZoA1TKpcpMLgtWdYdhuZOz0 Pjq4b5MRllrHobNvenKmD7KhfP8fYOzrM8K2arQswI2hUkiEeyk2UCjFC63p31nNdIDT rOpNATCy+FzwUFBZHx99Cc+ZIkiQemUT9HN7XKJgGLblvpV/HhwywDPmNFaGRAIDdyds k6Pw== 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=xLMJDBhs1guvJr37H3Bu/sj8VvUc74nudReRgORG5sc=; b=Wj9aZUsFquZso2MGKGnpf+IDhaO+UtE+H9tukZ7pFksVi/Ey8wuPOgN/VtJ0zEgpIs L4APUSoUsYeQYHqLT6GAEH/DmUvtiPmcSngVPvA+UoeT8yxQ0+D6EVXCmOmFPJhkJAh0 oURzc3Fd4RmY+cDc53xS8DLQFABbBXR5L6wOUFbN0zzTZ+kvZ+Gz7kGy37tjkdwUXI5b 4fzP4UwNQEdaMjHROWRXecKOdVlTvM60B23ayF4mBfx6zj69JbbFmzy7cDIUoXKU/u6c 1xi4Tft0ICabkMvJvgiVUFDvEn4FOnq93F2dHp3VI9eq9FpntXcThnF4GbY/uH+mKtIf yUnA== X-Gm-Message-State: ACrzQf0WJ91IMsLfwG/wrrUfhZ4IdgEMmJBbzx2JdCoomqYm01QqC2LZ 8ityBUcL13Sc0PzscQkwVuAWRGt4tsee4w== X-Google-Smtp-Source: AMsMyM7EbEPIlvh+OfWzH9CNqP4K7n0sYp5SHJYWUuvlPXICbLwBkEGqcbFjQ/4WYIXHdU5Xxw/JXw== X-Received: by 2002:a5d:4e47:0:b0:236:6dca:d355 with SMTP id r7-20020a5d4e47000000b002366dcad355mr30836447wrt.498.1667810382976; Mon, 07 Nov 2022 00:39:42 -0800 (PST) Received: from poulhies-Precision-5550.lan (static-176-191-105-132.ftth.abo.bbox.fr. [176.191.105.132]) by smtp.gmail.com with ESMTPSA id f66-20020a1c3845000000b003c6b70a4d69sm7304204wma.42.2022.11.07.00.39.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 07 Nov 2022 00:39:42 -0800 (PST) From: =?UTF-8?q?Marc=20Poulhi=C3=A8s?= To: gcc-patches@gcc.gnu.org Cc: Piotr Trojanek Subject: [COMMITTED] ada: Cleanup WITH clauses after switching from obsolescent Ada 83 unit Date: Mon, 7 Nov 2022 09:39:40 +0100 Message-Id: <20221107083940.150593-1-poulhies@adacore.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 List-Id: From: Piotr Trojanek Cleanup after replacing Unchecked_Conversion with Ada.Unchecked_Conversion. gcc/ada/ * libgnarl/s-interr.adb: Reorder context items and pragmas. Tested on x86_64-pc-linux-gnu, committed on master. --- gcc/ada/libgnarl/s-interr.adb | 17 ++++++----------- 1 file changed, 6 insertions(+), 11 deletions(-) diff --git a/gcc/ada/libgnarl/s-interr.adb b/gcc/ada/libgnarl/s-interr.adb index a3d28d6055c..94e572d482b 100644 --- a/gcc/ada/libgnarl/s-interr.adb +++ b/gcc/ada/libgnarl/s-interr.adb @@ -54,27 +54,22 @@ with Ada.Exceptions; with Ada.Task_Identification; +with Ada.Unchecked_Conversion; -with System.Task_Primitives; with System.Interrupt_Management; - with System.Interrupt_Management.Operations; -pragma Elaborate_All (System.Interrupt_Management.Operations); - with System.IO; - +with System.Parameters; +with System.Task_Primitives; with System.Task_Primitives.Operations; with System.Task_Primitives.Interrupt_Operations; with System.Storage_Elements; +with System.Tasking.Initialization; with System.Tasking.Utilities; - with System.Tasking.Rendezvous; -pragma Elaborate_All (System.Tasking.Rendezvous); - -with System.Tasking.Initialization; -with System.Parameters; -with Ada.Unchecked_Conversion; +pragma Elaborate_All (System.Interrupt_Management.Operations); +pragma Elaborate_All (System.Tasking.Rendezvous); package body System.Interrupts is -- 2.34.1