https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100059
Tobias Burnus <burnus at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Last reconfirmed| |2021-04-13 Assignee|unassigned at gcc dot gnu.org |burnus at gcc dot gnu.org Status|UNCONFIRMED |ASSIGNED Ever confirmed|0 |1 --- Comment #4 from Tobias Burnus <burnus at gcc dot gnu.org> --- That's in issue with how the nvptx pseudoassembler re-outputs the assembler, which reorders the symbols – 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 – I wonder why this did not show up before?) See ISSUE DESCRIPTION and SOLUTION (PATCH) at https://github.com/MentorEmbedded/nvptx-tools/pull/29