Re: [PTX] assembler name mangling

2016-05-16 Thread Nathan Sidwell
On 05/13/16 12:39, Alexander Monakov wrote: This regresses offloading compilation: the new hook isn't applied during LTO stream-in, so target functions named 'call' won't be remapped. foop :( I've restored the old behaviour. nathan

Re: [PTX] assembler name mangling

2016-05-13 Thread Alexander Monakov
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 addre

[PTX] assembler name mangling

2016-05-13 Thread Nathan Sidwell
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. I did discover an issue in langhooks, where t