C++ support? Re: PATCH: named address space support
Ulrich Weigand
uweigand@de.ibm.com
Wed Aug 20 12:47:00 GMT 2008
Ben Elliston wrote:
> > The middle-end parts look ok, though I think the majority of the
> > patch should be reviewed by a C frontend maintainer. Out of
> > curiosity, does GNU C++ after this patch support named
> > address-spaces?
>
> No. The embedded C proposal does not cover C++ and the patch does not
> enable this feature in the C++ front-end. That may change in future,
> but the language interactions of any proposed extension need to be
> carefully thought through.
In fact, we'd be pretty interested in a C++ extension of this feature;
unfortunately, there doesn't seem to exist an already worked-out
definition of language extension syntax/semantics for named address
spaces for C++ equivalent to the C version in TR 18037.
If any of the C++ experts has some advice or pointers to how this
feature should be implemented in C++, we'd much appreciate that!
Thanks,
Ulrich
--
Dr. Ulrich Weigand
GNU Toolchain for Linux on System z and Cell BE
Ulrich.Weigand@de.ibm.com
More information about the Gcc-patches
mailing list