From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mnementh.co.uk (mail.mnementh.co.uk [185.157.232.187]) by sourceware.org (Postfix) with ESMTPS id 706EF3858D28 for ; Sat, 18 Dec 2021 18:07:10 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 706EF3858D28 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=mnementh.co.uk Authentication-Results: sourceware.org; spf=none smtp.mailfrom=mnementh.co.uk Received: from 115.24.187.81.in-addr.arpa ([81.187.24.115] helo=[192.168.1.16]) by mnementh.co.uk with esmtpsa (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1mye6u-0007tN-4K for gcc-help@gcc.gnu.org; Sat, 18 Dec 2021 18:07:08 +0000 Message-ID: <84ccbd9e-8738-f5b3-fefc-2b64b0cd9102@mnementh.co.uk> Date: Sat, 18 Dec 2021 18:07:07 +0000 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.3.1 Subject: Re: RFC: AVR interrupt handling issue Content-Language: en-GB To: gcc-help@gcc.gnu.org References: <58038025-f6b3-4f41-00bb-31e28467420e@blueice.be> <5093a413-50c3-14d0-7708-44f95f8d3dce@mnementh.co.uk> From: Ian Molton In-Reply-To: <5093a413-50c3-14d0-7708-44f95f8d3dce@mnementh.co.uk> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00, KAM_COUK, KAM_DMARC_STATUS, KAM_LAZY_DOMAIN_SECURITY, KHOP_HELO_FCRDNS, NICE_REPLY_A, SPF_HELO_NONE, SPF_NONE, TXREP autolearn=no 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-help@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-help mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 18 Dec 2021 18:07:11 -0000 Replying to myself for a moment - it would appear that -fcall-used-reg="rXX" would do what I want (in theory), except for: 1) It doesnt appear to be documented much, or even work on AVR. 2) It applies to entire files, but I just want it to apply to one function. Does anyone know if any work has been done in that direction? or is it just abandoned? -Ian