From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp-out1.suse.de (smtp-out1.suse.de [IPv6:2001:67c:2178:6::1c]) by sourceware.org (Postfix) with ESMTPS id 54C6F3858C2C for ; Wed, 25 Jan 2023 13:50:47 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 54C6F3858C2C 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 8B4B621D67; Wed, 25 Jan 2023 13:50:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1674654645; 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=bzMkTJNYwmy1VwVFjqydFQnRqVNoQbcJlGIDQc+HV3E=; b=qJ8dJzKs5YXA18wBEUW3K6wNMPP7HkWcQfSSEKlHwmczB+/qzXBr8m8Ni7hI7jI2jy1W+W YaoXcjqDXT3eeJ5N/fhXDVNQ098GfkKuebYTQ8tHykKsirfYOyO7xmdvgm2adsnxvBRRNZ 9Qbi9YGQfDCxsyhiCu/k4kOLjg+0pIM= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1674654645; 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=bzMkTJNYwmy1VwVFjqydFQnRqVNoQbcJlGIDQc+HV3E=; b=/H4pwvwEJ/NnNPVs7XCVRiBFDps86Uc4AMCbPyhmNOjV6XxPl+/PzdNSx29xYr4GZjVTBN Ud7jri8xMC3pe4Cg== Received: from hawking.suse.de (unknown [10.168.4.11]) by relay2.suse.de (Postfix) with ESMTP id 849AA2C141; Wed, 25 Jan 2023 13:50:45 +0000 (UTC) Received: by hawking.suse.de (Postfix, from userid 17005) id 6075444384A; Wed, 25 Jan 2023 14:50:45 +0100 (CET) From: Andreas Schwab To: Richard Biener Cc: gcc-patches@gcc.gnu.org Subject: Re: [PATCH] lto: pass through -funwind-tables and -fasynchronous-unwind-tables References: X-Yow: I'm also pre-POURED pre-MEDITATED and pre-RAPHAELITE!! Date: Wed, 25 Jan 2023 14:50:45 +0100 In-Reply-To: (Richard Biener's message of "Wed, 25 Jan 2023 14:16:26 +0100") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain 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: On Jan 25 2023, Richard Biener wrote: > where we'd prefer -funwind-tables over -fno-unwind-tables when the > options do not match > across TUs. Note that you likely want to add > -f[asynchronous-]unwind-tables handling > in lto-options.cc:lto_write_options as well so the default is streamed > as explicit option. > Otherwise a single TU with -fno-unwind-tables on x86-64 would cause > the whole LTO > compilation to be built without. I don't think we actually need to handle -fasynchronous-unwind-tables here, since that implies -funwind-tables, and only the latter is relevant for dwarf2out_do_eh_frame. -- Andreas Schwab, SUSE Labs, schwab@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And now for something completely different."