This is the mail archive of the gcc@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]

RFC: named address space support


The Embedded-C spec introduces a number of C language features useful
for embedded development.  GCC already implements fixed point arithmetic
(Chapter 4) from this proposal.

  http://www.open-std.org/jtc1/sc22/wg14/www/docs/n1169.pdf

Chapter 5 is divided into two sections: named address space support and
named-register storage classes.  IBM has an implementation of named
address space support on the named-addr-spaces-branch that we would like
to merge into mainline.  Before proceeding, I would like to discuss what
would be acceptable to the GCC community.

Our implementation only covers section 5.1 of the proposal (named
address space support).  Section 5.2 has not been implemented.

I am conscious that the named address space implementation we have is
not sufficiently generic to be acceptable for mainline and will need to
be cleaned up before being submitted.  In addition, there is no support
for nested address spaces and that is arguably a deficiency of any
implementation of this proposal.  Would this be acceptable, provided
that this limitation is documented?

Thanks, Ben



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