From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 480DB3858C66; Sat, 2 Mar 2024 09:13:57 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 480DB3858C66 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1709370837; bh=C4x7ImHCdSAW+3d2zHO2j1XLECR6AT5/n754gk9yeIg=; h=From:To:Subject:Date:In-Reply-To:References:From; b=UgxqauGd6RnHwmYy4sS7hMNFYhc4JGm3CGU82X7ymt+2XgD5rJNUr5XzvHdGkOt+F wizKnl+QFW1qr+1xkDi9wttnapujU9iVCLmYQYLl7lnpPemCjCchGg7e4Tmn3VucMu pHEESrFdM6M0hRhH7lgZEsCqvnl3RMh4CgIui7LI= From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/114206] GCC generates wrong-code Date: Sat, 02 Mar 2024 09:13:56 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 14.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: pinskia at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: 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: component 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=3D114206 Andrew Pinski changed: What |Removed |Added ---------------------------------------------------------------------------- Component|c |tree-optimization --- Comment #1 from Andrew Pinski --- I think both 0 and 1 are correct here. The question becomes does the address of b need to be different between different calls of f. I am not 100% convinced it needs to be different.=