Andrew Pinski via Gcc schrieb:
On Wed, Jun 3, 2020 at 2:32 PM Max Ruttenberg via Gcc <gcc@gcc.gnu.org> wrote:
Hi all,
I’ve added a named address space to our backend and I noticed that it is only
support in C.
Has anyone had experience porting this feature to C++? Is there any technical
reason why it’s not supported?
The main issue is how it is interacts with templates and then
mangling. There was a few other issues that have been posted about
before every time it is raised.
Thanks,
Andrew
AFAIK llvm / clang supports named address spaces in C++, so it is
obviously possible and feasible.
Johann