Message ID | 20240411091030.1BC97384AB67@sourceware.org |
---|---|
State | New |
Headers | show
Return-Path: <gcc-patches-bounces+incoming=patchwork.ozlabs.org@gcc.gnu.org> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=suse.de header.i=@suse.de header.a=rsa-sha256 header.s=susede2_rsa header.b=tZsiETd1; dkim=pass header.d=suse.de header.i=@suse.de header.a=ed25519-sha256 header.s=susede2_ed25519 header.b=iusmdYQQ; dkim=pass (1024-bit key) header.d=suse.de header.i=@suse.de header.a=rsa-sha256 header.s=susede2_rsa header.b=FUN6I2NQ; dkim=neutral header.d=suse.de header.i=@suse.de header.a=ed25519-sha256 header.s=susede2_ed25519 header.b=uJth31O3; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gcc.gnu.org (client-ip=8.43.85.97; helo=server2.sourceware.org; envelope-from=gcc-patches-bounces+incoming=patchwork.ozlabs.org@gcc.gnu.org; receiver=patchwork.ozlabs.org) Received: from server2.sourceware.org (server2.sourceware.org [8.43.85.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4VFYnh6bv7z1yYM for <incoming@patchwork.ozlabs.org>; Thu, 11 Apr 2024 19:10:31 +1000 (AEST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 1BC97384AB67 for <incoming@patchwork.ozlabs.org>; Thu, 11 Apr 2024 09:10:30 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from smtp-out2.suse.de (smtp-out2.suse.de [195.135.223.131]) by sourceware.org (Postfix) with ESMTPS id 6A2B6385841F for <gcc-patches@gcc.gnu.org>; Thu, 11 Apr 2024 09:10:08 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 6A2B6385841F Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=suse.de Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=suse.de ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 6A2B6385841F Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=195.135.223.131 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1712826612; cv=none; b=L2zt+NPas7JQTy5kQKz+VAc2F0isMegvBAi0ruB89oLecKTJZ+rIBYFE6Xr+8cdizTIWooLxg0jAQyzWD2bIgdw9o7Rm8NSF0w4/OAnRkHMWxLL3hjOn4DDGLMzrFRdZlsmKxQhf2qCraoTM/m0itaif3Wlodju2zxc+EsevnCQ= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1712826612; c=relaxed/simple; bh=zAVv+/2p3X2IApiVq7hluc6gFyG5fBxzfg62P1+dxsI=; h=DKIM-Signature:DKIM-Signature:DKIM-Signature:DKIM-Signature:Date: From:To:Subject:MIME-Version; b=pE/kfUoFgac1DJPYQmNYLB5zdjjIQOSbz694hkaMBuU2WON+x4wzAPYMJ3RoTSaKhoc9c4sQ6NVkc2ThH5XInjbI3bObF1HCTPscbgeWXrXCq99NK6fFjD9W2EcEyShfiAL5Dq4rAl1AA34sgymAR29TDMFm5CI//2UGFu2HyME= ARC-Authentication-Results: i=1; server2.sourceware.org Received: from [10.168.5.241] (unknown [10.168.5.241]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp-out2.suse.de (Postfix) with ESMTPS id 7ECCA20D9B for <gcc-patches@gcc.gnu.org>; Thu, 11 Apr 2024 09:10:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1712826607; h=from:from:reply-to:date:date:to:to:cc:mime-version:mime-version: content-type:content-type; bh=Nk8BmPyeDAO6lTlH2ALnoZedw9C6XOloB9smlLMQKIQ=; b=tZsiETd16vW0YRxZKtvivGw39+YazQkkPRwoqvRNtl+ezASjgQk5uMOzgIiyYuJrztohmF zjorQMEAkaAzUlxt+0lQ5s06JNweZO3qQlR28h0h/m56O05omIYDzOzcFUg66Mn3zeWzSM vL2bxcQbXyUg7HQuvS9Yos4m/BLueOU= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1712826607; h=from:from:reply-to:date:date:to:to:cc:mime-version:mime-version: content-type:content-type; bh=Nk8BmPyeDAO6lTlH2ALnoZedw9C6XOloB9smlLMQKIQ=; b=iusmdYQQ2Nyx5gXK6p6WgP2q8P14IWvDdCMs3dAoq9h/cokFfAIfFUn16C5cDRyvr+uGM1 J4yuvBORWhC14tDw== Authentication-Results: smtp-out2.suse.de; none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1712826606; h=from:from:reply-to:date:date:to:to:cc:mime-version:mime-version: content-type:content-type; bh=Nk8BmPyeDAO6lTlH2ALnoZedw9C6XOloB9smlLMQKIQ=; b=FUN6I2NQ/Mo5+xheVlkTtuY5q0nEGjwDWmWG0M+trt27NET53TC2fitxZ7I+tgiYbJjnX8 GwalFiSRUSuybPTK/P3xql4myVvegLkFcm9adiJOUDOjy5V4sxSSxJG9NjpClSHlx0eB/X XVjPdXE4nr4sHjSdTiNOjekBA50mxDo= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1712826606; h=from:from:reply-to:date:date:to:to:cc:mime-version:mime-version: content-type:content-type; bh=Nk8BmPyeDAO6lTlH2ALnoZedw9C6XOloB9smlLMQKIQ=; b=uJth31O3uSoLCVS7A0nGWqXiayE9PTJOn04mU4N2Eqp69ayOIZS6jgaSOAhEVAi1GATswZ vBTS5tFe+INo2+BQ== Date: Thu, 11 Apr 2024 11:10:06 +0200 (CEST) From: Richard Biener <rguenther@suse.de> To: gcc-patches@gcc.gnu.org Subject: [PATCH] tree-optimization/109596 - wrong debug stmt move by copyheader MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-Spam-Score: -0.43 X-Spam-Level: X-Spamd-Result: default: False [-0.43 / 50.00]; MISSING_MID(2.50)[]; BAYES_HAM(-1.68)[93.03%]; NEURAL_HAM_LONG(-0.96)[-0.956]; NEURAL_HAM_SHORT(-0.19)[-0.972]; MIME_GOOD(-0.10)[text/plain]; RCPT_COUNT_ONE(0.00)[1]; RCVD_COUNT_ZERO(0.00)[0]; ARC_NA(0.00)[]; MISSING_XM_UA(0.00)[]; DKIM_SIGNED(0.00)[suse.de:s=susede2_rsa,suse.de:s=susede2_ed25519]; FUZZY_BLOCKED(0.00)[rspamd.com]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; TO_DN_NONE(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; FROM_HAS_DN(0.00)[] X-Spam-Status: No, score=-10.5 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, MISSING_MID, 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 X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Gcc-patches mailing list <gcc-patches.gcc.gnu.org> List-Unsubscribe: <https://gcc.gnu.org/mailman/options/gcc-patches>, <mailto:gcc-patches-request@gcc.gnu.org?subject=unsubscribe> List-Archive: <https://gcc.gnu.org/pipermail/gcc-patches/> List-Post: <mailto:gcc-patches@gcc.gnu.org> List-Help: <mailto:gcc-patches-request@gcc.gnu.org?subject=help> List-Subscribe: <https://gcc.gnu.org/mailman/listinfo/gcc-patches>, <mailto:gcc-patches-request@gcc.gnu.org?subject=subscribe> Errors-To: gcc-patches-bounces+incoming=patchwork.ozlabs.org@gcc.gnu.org Message-Id: <20240411091030.1BC97384AB67@sourceware.org> |
Series |
tree-optimization/109596 - wrong debug stmt move by copyheader
|
expand
|
diff --git a/gcc/tree-ssa-loop-ch.cc b/gcc/tree-ssa-loop-ch.cc index 1f0033be4c4..b7ef485c4cc 100644 --- a/gcc/tree-ssa-loop-ch.cc +++ b/gcc/tree-ssa-loop-ch.cc @@ -957,7 +957,7 @@ ch_base::copy_headers (function *fun) edge entry = loop_preheader_edge (loop); - propagate_threaded_block_debug_into (exit->dest, entry->dest); + propagate_threaded_block_debug_into (nonexit->dest, entry->dest); if (!gimple_duplicate_seme_region (entry, exit, bbs, n_bbs, copied_bbs, true)) {