From patchwork Tue Jul 12 12:25:40 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pierre-Marie de Rodat X-Patchwork-Id: 1655391 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: bilbo.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.a=rsa-sha256 header.s=default header.b=Xr5K+xbo; dkim-atps=neutral Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gcc.gnu.org (client-ip=2620:52:3:1:0:246e:9693:128c; helo=sourceware.org; envelope-from=gcc-patches-bounces+incoming=patchwork.ozlabs.org@gcc.gnu.org; receiver=) Received: from sourceware.org (server2.sourceware.org [IPv6:2620:52:3:1:0:246e:9693:128c]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by bilbo.ozlabs.org (Postfix) with ESMTPS id 4Lj0VT0WmLz9sB4 for ; Tue, 12 Jul 2022 22:31:29 +1000 (AEST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 7FC393892F6A for ; Tue, 12 Jul 2022 12:31:18 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 7FC393892F6A DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1657629078; bh=SjAOBUwyM+vlyZsYWs9QPfJrvwKXInkxx8ERmlY9sGQ=; h=Date:To:Subject:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:Cc:From; b=Xr5K+xboQRf8PNGmANr7Dfgn8nbSFAk1+qfjc/725GjlSNBOD/zoHGSb4uV/fizML 9T3AlERpJIcH50cpWA3yO+A/jMoBfLyKFZ3DjPU9sOnkd+R25kaIpErHOdbW5Nacoq QXULl32GDqlswwvlcaZbNEIPqfQD1cZD1nF9FyC8= X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from mail-ej1-x635.google.com (mail-ej1-x635.google.com [IPv6:2a00:1450:4864:20::635]) by sourceware.org (Postfix) with ESMTPS id 9DCDC385AC12 for ; Tue, 12 Jul 2022 12:25:41 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 9DCDC385AC12 Received: by mail-ej1-x635.google.com with SMTP id mf4so12820579ejc.3 for ; Tue, 12 Jul 2022 05:25:41 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:mime-version :content-disposition; bh=SjAOBUwyM+vlyZsYWs9QPfJrvwKXInkxx8ERmlY9sGQ=; b=JChXYxcNIxTyIUMotS8vcO4owclqtWNo+APmyLVVkVcy4hDJjQ2UoYrtAzNNZaxUbU FXqjFHrLDd+besl9iXFSfC7nU9ZXcT0r/w93GgVoQ56zUWB6d0GQM+2igAoCglo7KFec c3Xj5KOUR2ey1YxsFyWEt4zMvgWEmuicIckMT05q501qhEjMpMW5qJaD9eygUp35k9dj JWEUee6VHNffBnra4+xAPmVObw3Hs//buFCqGB/fPjt6pYcvBdfDJ7aJ/RjOGYJk5cLK nbki/65WzJGdbKn8bC6lc7BpFsyPP0iXgi37Xu6QT3TI+1BUWx6kk4po67WvkqlpzAbu ocDg== X-Gm-Message-State: AJIora/NeONdxM+HR6qcIZaB1oYwPQGLbZ634ItP8+tL9K4DAbjkPOlS NbBYTiaryvwVz5R7RT7E7c40pDAFVjgu/Q== X-Google-Smtp-Source: AGRyM1v4/Iuiig+i85ZiCVLSxhNsoeAzmMxGQ28iV0Pdb3zoDjeILqdtpkKMYPyTuTTfKMYnSUxNdg== X-Received: by 2002:a17:906:4fd6:b0:70c:9284:cc01 with SMTP id i22-20020a1709064fd600b0070c9284cc01mr23529549ejw.553.1657628741245; Tue, 12 Jul 2022 05:25:41 -0700 (PDT) Received: from adacore.com ([45.147.211.82]) by smtp.gmail.com with ESMTPSA id f1-20020a17090631c100b00722d5b26ecesm3741555ejf.205.2022.07.12.05.25.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Jul 2022 05:25:40 -0700 (PDT) Date: Tue, 12 Jul 2022 12:25:40 +0000 To: gcc-patches@gcc.gnu.org Subject: [Ada] Fix inconsistent comment about expansion of exception declarations Message-ID: <20220712122540.GA3405050@adacore.com> MIME-Version: 1.0 Content-Disposition: inline X-Spam-Status: No, score=-13.2 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, T_SCC_BODY_TEXT_LINE 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: Pierre-Marie de Rodat via Gcc-patches From: Pierre-Marie de Rodat Reply-To: Pierre-Marie de Rodat Cc: Piotr Trojanek Errors-To: gcc-patches-bounces+incoming=patchwork.ozlabs.org@gcc.gnu.org Sender: "Gcc-patches" Code cleanup. Tested on x86_64-pc-linux-gnu, committed on trunk gcc/ada/ * exp_ch11.adb (Expand_N_Exception_Declaration): Sync comment with declaration in System.Standard_Library. diff --git a/gcc/ada/exp_ch11.adb b/gcc/ada/exp_ch11.adb --- a/gcc/ada/exp_ch11.adb +++ b/gcc/ada/exp_ch11.adb @@ -1136,7 +1136,7 @@ package body Exp_Ch11 is Set_Is_Statically_Allocated (Ex_Id); -- Create the aggregate list for type Standard.Exception_Type: - -- Handled_By_Other component: False + -- Not_Handled_By_Others component: False L := Empty_List; Append_To (L, New_Occurrence_Of (Standard_False, Loc));