https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97106
Tom de Vries <vries at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Target Milestone|--- |12.0 Resolution|--- |FIXED --- Comment #5 from Tom de Vries <vries at gcc dot gnu.org> --- Using the test-case from comment 0 and: ... /* { dg-additional-options "-foffload=-malias -foffload=-mptx=6.3 -O0" } */ ... I get: ... $ strings test.exe | grep -i alias.alias _ZN1VILi1EEC1ImvEET_,_ZN1VILi1EEC2ImvEET_; ... so I see a normal alias, not a weak alias. The test-case still fails in the abort. Note that I get the same result with: ... /* { dg-additional-options "-foffload=-mno-alias -foffload=-mptx=6.3 -O2" } */ ... There may be a problem with the test-case, there may be a problem with nvptx c++ support, but the alias issue seems to have been addresses, so I'm closing this one.