what is the difference between "Strict", "Typed", "Restricted" and "Disjointed" aliasing?
Asked
Active
Viewed 1,410 times
4
-
i found http://www.lysator.liu.se/c/restrict.html#restricted-pointers for "Restricted Pointer" – salman Dec 01 '09 at 07:43
-
http://docs.sun.com/app/docs/doc/820-7598/bjafc?a=view – salman Dec 01 '09 at 08:23
1 Answers
8
In "Strict aliasing", pointers don't alias if they are different types.
In "Typed aliasing", pointers of the same type can alias and overlap.
In "Restricted aliasing", pointers of same type are assumed to not overlap.
In "Disjointed aliasing", all pointer expressions result in no overlap.

salman
- 1,966
- 3
- 15
- 18