This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Fix c/69643, named address space wrong-code
- From: Tom Tromey <tom at tromey dot com>
- To: Richard Henderson <rth at redhat dot com>
- Cc: Richard Biener <richard dot guenther at gmail dot com>, GCC Patches <gcc-patches at gcc dot gnu dot org>, Jakub Jelinek <jakub at redhat dot com>
- Date: Fri, 05 Feb 2016 09:08:23 -0700
- Subject: Re: [PATCH] Fix c/69643, named address space wrong-code
- Authentication-results: sourceware.org; auth=none
- References: <56B1984A dot 9010208 at redhat dot com> <0B773821-D6B7-489A-A8A5-C37520FFFA13 at gmail dot com> <56B1A805 dot 5090901 at redhat dot com> <4BCE1023-7CFB-45F4-B0F7-D31160C6B895 at gmail dot com> <56B26359 dot 5060802 at redhat dot com>
>>>>> "rth" == Richard Henderson <rth@redhat.com> writes:
rth> The user-friendly way to do this would probably be some sort of pragma
rth> that allows user-defined address spaces, and user-defined conversion
rth> between them. But that's certainly not going to happen in the
rth> near-term.
Related is https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59850
When I was playing with this I think I tried initially to base the
user-defined address spaces on the built-in support. I think I started
by trying to save part of the number space for user-defined spaces.
However, this got messy and in the end I just went with a separate
attribute... not very nice really.
Tom