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