https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86660
--- Comment #10 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Indeed, lowering ignores map clauses for declare target to global vars, but it can do that only if always is not present. Will have a look.