From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 81C9C3945052; Tue, 13 Apr 2021 16:39:42 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 81C9C3945052 From: "burnus at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/100059] [OpenMP] wrong code with 'declare target link' and a scalar variable Date: Tue, 13 Apr 2021 16:39:42 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 11.0 X-Bugzilla-Keywords: openmp, wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: burnus at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: burnus at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cf_reconfirmed_on assigned_to bug_status everconfirmed 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: Tue, 13 Apr 2021 16:39:42 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D100059 Tobias Burnus changed: What |Removed |Added ---------------------------------------------------------------------------- Last reconfirmed| |2021-04-13 Assignee|unassigned at gcc dot gnu.org |burnus at gcc dot g= nu.org Status|UNCONFIRMED |ASSIGNED Ever confirmed|0 |1 --- Comment #4 from Tobias Burnus --- That's in issue with how the nvptx pseudoassembler re-outputs the assembler, which reorders the symbols =E2=80=93 such that the order in var_mappings is= wrong (i.e. differs from the order on the host). (Order is based on traversing the htab =E2=80=93 I wonder why this did not = show up before?)=20=20 See ISSUE DESCRIPTION and SOLUTION (PATCH) at https://github.com/MentorEmbedded/nvptx-tools/pull/29=