From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp-out1.suse.de (smtp-out1.suse.de [195.135.220.28]) by sourceware.org (Postfix) with ESMTPS id 8CE0F3858D35 for ; Wed, 18 Jan 2023 15:16:08 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 8CE0F3858D35 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=suse.de Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=suse.de Received: from relay2.suse.de (relay2.suse.de [149.44.160.134]) by smtp-out1.suse.de (Postfix) with ESMTP id 6BB473F7F7; Wed, 18 Jan 2023 15:16:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1674054967; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=pff+OQbC0HbOpdzYvnMta7Topr95WrFAww4iVcuT6YM=; b=VVx4wGLpcyFVeKS2iRlseUNVOkWCw8/jgm2qsTjP+FTNOOirIGuzkqZB+SCE7/F9HIHew1 gr+7dyccPuojB8upOmvjOMDi9fzRqEGUmSt0IIttyEorDPeJRTUS/5HDd59VaNRR1fP51i +TeMjKG6e7CUL3P7l55vf2YK4CZQJbs= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1674054967; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=pff+OQbC0HbOpdzYvnMta7Topr95WrFAww4iVcuT6YM=; b=fda1TuLgwulsoeum7jHCR8Vbf1R+XZUNc6Qe0CigQYynTswi9tOA4RyuH9IsbcIKZE6qNf ZiU6QDomU1bAOuAw== Received: from wotan.suse.de (wotan.suse.de [10.160.0.1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by relay2.suse.de (Postfix) with ESMTPS id 6527F2C141; Wed, 18 Jan 2023 15:16:07 +0000 (UTC) Received: by wotan.suse.de (Postfix, from userid 10510) id 5BCC36393; Wed, 18 Jan 2023 15:16:07 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by wotan.suse.de (Postfix) with ESMTP id 5A4626311; Wed, 18 Jan 2023 15:16:07 +0000 (UTC) Date: Wed, 18 Jan 2023 15:16:07 +0000 (UTC) From: Michael Matz To: Jakub Jelinek cc: Andreas Schwab , gcc-patches@gcc.gnu.org, Richard Biener , Jan Hubicka Subject: Re: [PATCH] lto: pass through -funwind-tables and -fasynchronous-unwind-tables In-Reply-To: Message-ID: References: User-Agent: Alpine 2.20 (LSU 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-Spam-Status: No, score=-3.1 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,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: Hello, On Wed, 18 Jan 2023, Jakub Jelinek wrote: > On Wed, Jan 18, 2023 at 04:09:08PM +0100, Andreas Schwab wrote: > > On Jan 18 2023, Jakub Jelinek wrote: > > > > > Partly OT, what is riscv not defaulting that on as well? Does it have > > > usable unwind info even without that option, something else? > > > > The RISC-V ABI does not address this, AFAICS. > > And neither do many other ABIs, still we default there to > -fasynchronous-unwind-tables because we've decided it is a good idea. That might or might not be, but in the context of this thread that's immaterial. Doing the same as the other archs will then simply hide the problem on risc-v as well, instead of fixing it. Ciao, Michael.