wishlist: support for shorter pointers

Rafał Pietrak embedded@ztk-rp.eu
Tue Jul 4 16:20:47 GMT 2023



W dniu 4.07.2023 o 17:55, David Brown pisze:
> On 04/07/2023 16:46, Rafał Pietrak wrote:
[----------]
>>
>> Yes. named address spaces would be great. And for code, too.
>>
> 
> It is good to have a wishlist (and you can file a wishlist "bug" in the 
> gcc bugzilla, so that it won't be forgotten).  But it is also good to be 
> realistic.  Indices will give you what you need in terms of space 
> efficiency, but will be messier in the syntax.  A small pointer class 
> will give you efficient code and neat syntax, but require C++.  These 
> two solutions will, however, work today.  (And they are both target 
> independent.)

OK, Eventually I may invest into the ++. For now, thenx for the 
discussion and pointing me to the most promising directions. See U.

-R


More information about the Gcc mailing list