Re: about __restricted__

Felix von Leitner <[email protected]>
Newsgroups gmane.linux.lib.dietlibc
Message-ID <[email protected]>
> Are there any reasons not to use __restricted__ where applicable? I think GCC
> would thank us for providing such hints.

Agreed.  This has been in TODO for years :-)

However I don't expect big gains.  In previous experiments with
restrict, gcc was smart about what code to generate even without
restrict.

Note that the diet wrapper already adds -fstrict-aliasing to CFLAGS.

Felix
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.