This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PTX] assembler name mangling
- From: Alexander Monakov <amonakov at ispras dot ru>
- To: Nathan Sidwell <nathan at acm dot org>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Fri, 13 May 2016 19:39:38 +0300 (MSK)
- Subject: Re: [PTX] assembler name mangling
- Authentication-results: sourceware.org; auth=none
- References: <97565a83-41e9-965e-78dc-429f4788f7d8 at acm dot org>
Hello,
On Fri, 13 May 2016, Nathan Sidwell wrote:
> I've committed this cleanup to use TARGET_MANGLE_DECL_ASSEMBLER_NAME rather
> than the ad-hoc solution the ptx backend currently has. I didn't address it
> during the earlier set of cleanups as I felt there were more important things
> to address then.
This regresses offloading compilation: the new hook isn't applied during LTO
stream-in, so target functions named 'call' won't be remapped.
I'd solve it by avoiding the hook and performing remapping in a simple IPA
pass registered from the backend.
Alexander