From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 41FB13887B03; Thu, 15 Dec 2022 07:15:27 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 41FB13887B03 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1671088527; bh=vWR2nxnILkuqtwXZ2P1goFK8cqs0Lc+5htdx+SooibE=; h=From:To:Subject:Date:In-Reply-To:References:From; b=yIXW+gAcSCvk1eOvjntFg0vsuVnS/m9SWFsXn2hzENVVkp/MY7+SKSPPLmNC8mmHG z3qZsYZn5ft7wbKVCo+2pI1hPitcE3vAYFmeGGM+9g+u65RyGsQo+sEq4lavLmiLTs ulolyLhZy3YdSEmVUKRTvcGar/Q45CruOTkiz7Qo= From: "amonakov at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/108117] Wrong instruction scheduling on value coming from abnormal SSA Date: Thu, 15 Dec 2022 07:15:26 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: amonakov at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: INVALID X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D108117 Alexander Monakov changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |amonakov at gcc dot gnu.org --- Comment #4 from Alexander Monakov --- -Wclobbered properly warns here (and it's part of -Wextra). With explicit -fschedule-insns, reproducible on x86 as well. The reason for the issue is quite surprising though, I did not expect pre-RA scheduling to lift assignments to pseudos across calls, because it just increases register pressure at the point of the call for little or no gain.=