From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm1-x331.google.com (mail-wm1-x331.google.com [IPv6:2a00:1450:4864:20::331]) by sourceware.org (Postfix) with ESMTPS id 0F6B23858D3C for ; Thu, 16 Sep 2021 06:10:21 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 0F6B23858D3C Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=adacore.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=adacore.com Received: by mail-wm1-x331.google.com with SMTP id n7-20020a05600c3b8700b002f8ca941d89so3647010wms.2 for ; Wed, 15 Sep 2021 23:10:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=adacore.com; s=google; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=EVRDS96exU3hjleWP0WOMAEj8zKjAayQKnhLJBLNJUg=; b=N4j5zYP7SRzDbs8xCVSDY1AaKVVYSTmJjseBbyNvtVerp2vtBw5zx0t9eCmCCVB1pz H2Ib/sCznt5tkAcQU4BCFRppOECO6by2AIiZygUg73nAf0gJ+q4IEmNv+UI4bsSlApZu miwxKVUYZFyJMsNZVlzMj4ned2R9oEe+5YQ66jhth4jb4MQV3tqfpBTYyaPnnkW53BIx nMec+8lBe+MQdGzP1WGCsFlZ54hWsfDeehbiQSWWfOyZicv64TY872JNmXbx/2gs2VHt v3hKzWmZH1qq5zDIdAqHs/QsJ0uiB4y0JzaQ3psHsJ5xNW18oxUWumx29aXuxDEv61Av tSpg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=EVRDS96exU3hjleWP0WOMAEj8zKjAayQKnhLJBLNJUg=; b=vnssJOBzFPYNungy3BPqj1AdLVqfeR4W0rWf8jaXhBkJOm19nxwiU80N5qO+/pdavY cmDKu8CzDppjsgjkUkDJhziu/wbBbo2ZIUjUXm5dTfDZy5+ybrD9ktqnIDAqOVZ+IIPk gyPKVcZn9fSpcjLd6dpvsP3kjbGqbt3tpIAL1xjvq7lqts6qJ9DQKK3O+cWZMa1NIq3h xRavbQwEd0V9d46CED1iYZ6sclkYeyO0OAF/kSEP7QFNfX8FjjfbEpxC4X+O8doUQ9Z5 k2+VM55uhOeVlLFPvAtUPva/N6dhD/KqhmJji4eTor+Rd3NELfPMj9WuyNIOKgLp0nBx kXsQ== X-Gm-Message-State: AOAM531HAzgBhC8MoPKCEubbQBkMMLVDoq4geVzUyUoIxcBm7HWwD38J 4Z1kvrpNTdF6J/2Cvzvu17LPLw== X-Google-Smtp-Source: ABdhPJzeBekqeF+GmDgYPs3IwuQeTJz1uIPZBq8/p+teIlbk8rqf69DqjFAERbvb89Sxetx0IuESbg== X-Received: by 2002:a1c:3bd7:: with SMTP id i206mr8112334wma.115.1631772619809; Wed, 15 Sep 2021 23:10:19 -0700 (PDT) Received: from imac.home (2a01cb0002912700216809c1fb0f332c.ipv6.abo.wanadoo.fr. [2a01:cb00:291:2700:2168:9c1:fb0f:332c]) by smtp.gmail.com with ESMTPSA id o8sm2610693wrm.9.2021.09.15.23.10.19 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 15 Sep 2021 23:10:19 -0700 (PDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.4\)) Subject: Re: [FYI] zero-call-used-regs attr for ada From: Olivier Hainque In-Reply-To: Date: Thu, 16 Sep 2021 08:10:18 +0200 Cc: Olivier Hainque , gcc-patches@gcc.gnu.org Content-Transfer-Encoding: 7bit Message-Id: <3BBBFD74-38A9-46B5-9C9F-715170C699EC@adacore.com> References: To: Alexandre Oliva X-Mailer: Apple Mail (2.3608.120.23.2.4) X-Spam-Status: No, score=-2.5 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) 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-List-Received-Date: Thu, 16 Sep 2021 06:10:22 -0000 > On 15 Sep 2021, at 18:45, Alexandre Oliva wrote: > > On Sep 15, 2021, Alexandre Oliva wrote: > >> Regstrapped on x86_64-linux-gnu. Patch pre-approved by Olivier Hainque. > > Uhh, actually, Olivier had only seen and approved these changes: > >> for gcc/ada/ChangeLog > >> * gcc-interface/utils.c: Include opts.h. >> (handle_zero_call_used_regs_attribute): New. >> (gnat_internal_attribute_table): Add zero_call_used_regs. > > The trivial testcase went in without anyone's approval. Oops. > >> for gcc/testsuite/ChangeLog > >> * gnat.dg/zcur_attr.adb, gnat.dg/zcur_attr.ads: New. > > Sorry about the slip. It's trivial enough that I suppose it can fit the > "obviously correct" rule. Please let me know in case you disagree. No problem at all Alex. Thanks for your work on this!