From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp-out2.suse.de (smtp-out2.suse.de [IPv6:2001:67c:2178:6::1d]) by sourceware.org (Postfix) with ESMTPS id 795DD3852C43 for ; Tue, 29 Nov 2022 09:25:24 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 795DD3852C43 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 imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out2.suse.de (Postfix) with ESMTPS id 9DA7B1FDDE for ; Tue, 29 Nov 2022 09:25:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1669713923; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc: mime-version:mime-version:content-type:content-type; bh=UYqHK6KZXh4UZyJu+Am9topKA85zrJsuGuKaGZhwh+k=; b=EEnELZR+yds2XcgRedx9GuXR5cz0CuUxJuCb/Pz+XogoeHuUhHLFJh/W259OBnyG5WXs7m yGItbVBccZrIePqxJrN8EBiL6HWRMVcYSWhBDiihT4MJqsmAAw7N6zBo+RtfSJ5X4eq5JP vByEYNCBfiLMAy5ieZ7A1ICYH/eWQc4= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1669713923; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc: mime-version:mime-version:content-type:content-type; bh=UYqHK6KZXh4UZyJu+Am9topKA85zrJsuGuKaGZhwh+k=; b=59sKDOOZhcufkw2pUuCSuePTo8/j0mtnlsP6oPbnYkNcNr4f4LvQvja0xu8gDzsUPR6Y2o uso90Q6lSAmaI0BQ== Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id 7E43313428 for ; Tue, 29 Nov 2022 09:25:23 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id HqKgHQPQhWOyIQAAMHmgww (envelope-from ) for ; Tue, 29 Nov 2022 09:25:23 +0000 Date: Tue, 29 Nov 2022 10:25:23 +0100 (CET) From: Richard Biener To: gcc-patches@gcc.gnu.org Subject: [PATCH] ipa/107897 - avoid property verification ICE after error MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Message-Id: <20221129092523.7E43313428@imap2.suse-dmz.suse.de> X-Spam-Status: No, score=-11.8 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,GIT_PATCH_0,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: The target clone pass is the only small IPA pass that doesn't disable itself after errors but has properties whose verification can fail because we cut off build SSA passes after errors. Bootstrapped and tested on x86_64-unknown-linux-gnu, pushed. PR ipa/107897 * multiple_target.cc (pass_target_clone::gate): Disable after errors. --- gcc/multiple_target.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gcc/multiple_target.cc b/gcc/multiple_target.cc index 77e0f21dd05..fd88c22b002 100644 --- a/gcc/multiple_target.cc +++ b/gcc/multiple_target.cc @@ -539,7 +539,8 @@ public: bool pass_target_clone::gate (function *) { - return true; + /* If there were any errors avoid pass property verification errors. */ + return !seen_error (); } } // anon namespace -- 2.35.3