[PATCH] Fix c/69643, named address space wrong-code

Tom Tromey tom@tromey.com
Fri Feb 5 16:08:00 GMT 2016


>>>>> "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



More information about the Gcc-patches mailing list