[Bug target/101544] [OpenMP][AMDGCN][nvptx] C++ offloading: unresolved _Znwm = "operator new(unsigned long)"

tschwinge at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Mar 20 15:36:09 GMT 2025


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101544

--- Comment #23 from Thomas Schwinge <tschwinge at gcc dot gnu.org> ---
(In reply to myself from comment #22)
> We "simply" need to transform any symbol aliases into thunks calling the aliasee (or duplicate the bodies, if we must).

Also no luck implementing that as a new GIMPLE pass right after offload
stream-in.  Oh well...


Fortunately,
<https://inbox.sourceware.org/87ldszaf5z.fsf@euler.schwinge.ddns.net> "[PATCH]
nvptx: In offloading compilation, special-case certain host-setup symbol
aliases [PR101544]" is good enough to make progress overall.


More information about the Gcc-bugs mailing list