This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

C++ support? Re: PATCH: named address space support


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]