From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx0a-001b2d01.pphosted.com (mx0a-001b2d01.pphosted.com [148.163.156.1]) by sourceware.org (Postfix) with ESMTPS id BF6DA3857B98 for ; Wed, 11 Jan 2023 15:14:45 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org BF6DA3857B98 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=linux.ibm.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=linux.ibm.com Received: from pps.filterd (m0098404.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 30BFC5fG017765 for ; Wed, 11 Jan 2023 15:14:44 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ibm.com; h=message-id : date : subject : to : references : from : in-reply-to : content-type : content-transfer-encoding : mime-version; s=pp1; bh=mxVQUJjSaIwct8n1Us5Zc7jFOQvDLtNoiu2duEJ5YBI=; b=gmtLE7AP6HOLARKI/M9C4OlW6Y8groMOG5VhwWdwZ48rrJLJIbCT58Hf+fE+W4StLU3E tp9vkGqufsVsTWTP1UeEV8YPugXW9U2B1EMTY7cCsfTdmHNhTU16ViC56/dkw5oAo+fv WwC8Bx20PK6jNUDnF6dcuVzjnuDdjuPvXv8CcqUmrvNQvOcZRVYtiPq3J5Z8KHKZHP77 Wf3z/ulj0sAg6ommU+LQYGYv5OT4I9TENeqam00xZfGAIpmA+X6Sof2GpQanhBzRrsK+ sVoj+idw5ZFcxg4wr66UdSbdKWMXtJUJNVAroYXrmHKCFQzG8GUx3j4ulOvsd4bjiBaG +w== Received: from pps.reinject (localhost [127.0.0.1]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3n1yhur1ud-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Wed, 11 Jan 2023 15:14:44 +0000 Received: from m0098404.ppops.net (m0098404.ppops.net [127.0.0.1]) by pps.reinject (8.17.1.5/8.17.1.5) with ESMTP id 30BFDKAD020583 for ; Wed, 11 Jan 2023 15:14:44 GMT Received: from ppma06fra.de.ibm.com (48.49.7a9f.ip4.static.sl-reverse.com [159.122.73.72]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3n1yhur1tk-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 11 Jan 2023 15:14:43 +0000 Received: from pps.filterd (ppma06fra.de.ibm.com [127.0.0.1]) by ppma06fra.de.ibm.com (8.17.1.19/8.17.1.19) with ESMTP id 30B1d0dO003295; Wed, 11 Jan 2023 15:14:41 GMT Received: from smtprelay02.fra02v.mail.ibm.com ([9.218.2.226]) by ppma06fra.de.ibm.com (PPS) with ESMTPS id 3n1kmtgs7j-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 11 Jan 2023 15:14:41 +0000 Received: from smtpav02.fra02v.mail.ibm.com (smtpav02.fra02v.mail.ibm.com [10.20.54.101]) by smtprelay02.fra02v.mail.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 30BFEdp731457698 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 11 Jan 2023 15:14:39 GMT Received: from smtpav02.fra02v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id E719E2004B; Wed, 11 Jan 2023 15:14:38 +0000 (GMT) Received: from smtpav02.fra02v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id C583E20040; Wed, 11 Jan 2023 15:14:38 +0000 (GMT) Received: from [9.152.224.239] (unknown [9.152.224.239]) by smtpav02.fra02v.mail.ibm.com (Postfix) with ESMTP; Wed, 11 Jan 2023 15:14:38 +0000 (GMT) Message-ID: Date: Wed, 11 Jan 2023 16:14:38 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.6.0 Subject: Re: PING: New reg note REG_CFA_NORESTORE Content-Language: en-US To: Jeff Law , gcc-patches@gcc.gnu.org References: From: Andreas Krebbel In-Reply-To: Content-Type: text/plain; charset=UTF-8 X-TM-AS-GCONF: 00 X-Proofpoint-GUID: lW4ZDd-JIGgtD1XHI34nsajeiVn8wuHE X-Proofpoint-ORIG-GUID: ujLoRPYsXdD9gFs8A4oaexa0WEn3cQ_c Content-Transfer-Encoding: 7bit X-Proofpoint-UnRewURL: 0 URL was un-rewritten MIME-Version: 1.0 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.219,Aquarius:18.0.923,Hydra:6.0.545,FMLib:17.11.122.1 definitions=2023-01-11_07,2023-01-11_02,2022-06-22_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 malwarescore=0 suspectscore=0 phishscore=0 mlxlogscore=999 adultscore=0 impostorscore=0 clxscore=1015 bulkscore=0 lowpriorityscore=0 priorityscore=1501 mlxscore=0 spamscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2301110109 X-Spam-Status: No, score=-4.7 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_EF,KAM_SHORT,NICE_REPLY_A,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: On 12/27/22 19:23, Jeff Law wrote: > > > On 12/13/22 01:55, Andreas Krebbel via Gcc-patches wrote: >> Hi, >> >> I need a way to save registers on the stack and generate proper CFI for it. Since I do not intend to >> restore them I needed a way to tell the CFI generation step about it: >> >> https://gcc.gnu.org/pipermail/gcc-patches/2022-November/606128.html >> >> Is this ok for mainline? > Presumably there's validation bits that want to validate that everything > saved eventually gets restored? > > There's only one call to dwarf2out_frame_debug_cfa_restore, so ISTM that > providing an initializer for the argument isn't needed and just creates > an overload (and associated code) that isn't needed. Why not just > remove the default initializer? > > Ok with that change or a good reason why you need to keep the initializer. Right. I'll remove it. Thanks for having a look! Bye, Andreas