Newer GCC Function Attributes

Joel Sherrill joel.sherrill at
Wed Mar 9 21:55:46 UTC 2022


It looks like GCC has gotten some pretty nifty attributes for arguments and
return values.

You can specify allowed access mode for non-const pointers abd lignment
hints for returned pointers.

I'm not sure if we have any good use cases for these but wanted to toss
this out there in case someone thinks of something I didn't.


More information about the devel mailing list