From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id D09563851C1E; Mon, 8 Jun 2020 10:50:05 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org D09563851C1E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1591613405; bh=5NJ5mCtUkkbhVQVPNsbcesxyodFjWX2BhObkxJgc9TY=; h=From:To:Subject:Date:In-Reply-To:References:From; b=yv9xRl2cg5sqKr818LvHmDbUXSm019tmHB7s445Px+myQ2UpOUiO4hjTKqNYvR/j8 rnh5fvV0/brvYIeuyPLWZL4ehxYz/qGBqylCql0pFvyWX8XOuiEpFppVrtNhR5kjkV tlfAZxrN8BX6pDDpJokNfuFs2F7mWT7KwAkO4amw= From: "burnus at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/95551] [OpenMP, OpenACC] -fopenmp/-fopenacc also with -foffload=disable fails with: (.gnu.offload_vars+0x0): undefined reference to `A.10.2' Date: Mon, 08 Jun 2020 10:50:05 +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: 10.0 X-Bugzilla-Keywords: openacc, openmp, wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: burnus 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: 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: Mon, 08 Jun 2020 10:50:05 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D95551 --- Comment #4 from Tobias Burnus --- See RFC patch at https://gcc.gnu.org/pipermail/gcc-patches/2020-June/547500.html =E2=86=92 Don't add read-only artificial variables to the offload table (no= need to) And see experimental (but not working) patch regarding the stream out, which highlights a state issue regarding host vs. target: =E2=86=92 LTO stream out (array still present) and host part (array already gone with -O3) =E2=86=92 https://gcc.gnu.org/pipermail/gcc-patches/2020-June/547502.html=