2 The alias analyzer only considers relations between pointers and
3 symbols. If two pointers P and Q point to the same symbol S, then
4 their respective memory tags will either be the same or they will
5 have S in their alias set.
7 However, if there are no common symbols between P and Q, TBAA will
8 currently miss their alias relationship altogether. */
18 int foo () { return 3; }
27 /* Avoid the partial hack in TBAA that would consider memory tags if
28 the program had no addressable symbols. */
35 /* Store into *locp and cache its current value. */
36 locp
= __builtin_malloc (sizeof (*locp
));
40 /* Take the address of one of locp's fields and write to it. */
44 /* Read the recently stored value. If TBAA fails, this will appear
45 as a redundant load that will be replaced with '10'. */