From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id A16A13972459; Wed, 27 May 2020 12:36:02 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org A16A13972459 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1590582962; bh=i98qzS6r2KMiB7AUELUXfurYtp5RiULY2E3x7c+xF3g=; h=From:To:Subject:Date:In-Reply-To:References:From; b=JhK2TdwqEYfe5ub4Hhx3iF5krJriE7prWV5b0eedCJp6OngitrDgiNQB7o05TUVGy 6lCEVwQ7Elz7VtUMrC9Zagk+cD0GnTRIkJM3hYEIZdoAsVdijbtYiBd/ZTqgnuLo1k IYMUKIxrCSesnlMFdPrrafUZl1I/sJD8gNvjj5ks= From: "bouanto at zoho dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug jit/95314] Sharing a local reference to a global variable in multiple functions results in location references block not in block tree Date: Wed, 27 May 2020 12:36:02 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: jit X-Bugzilla-Version: 10.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: bouanto at zoho dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: dmalcolm at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: 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 X-BeenThere: gcc-bugs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-bugs mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 May 2020 12:36:02 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D95314 --- Comment #9 from bouanto at zoho dot com --- Actually, it seems I was wrong on the conditions to reproduce this issue. I managed to create a small example to reproduce the issue. I attached it to the bug report.=