2 /* { dg-options "-fdump-tree-alias" } */
3 /* { dg-skip-if "" { *-*-* } { "-O0" "-fno-fat-lto-objects" } { "" } } */
6 void __attribute__((noinline
,noclone
))
11 int __attribute__((noinline
,noclone
))
12 foo (__INTPTR_TYPE__ addr
)
15 /* q points to ANYTHING */
16 int **q
= (int **)addr
;
17 /* this store needs to cause i to escape */
20 /* and thus be clobbered by this function call */
24 extern void abort (void);
28 if (foo ((__INTPTR_TYPE__
)&p
) != 1)
33 /* { dg-final { scan-tree-dump "ESCAPED = {\[^\n\}\]* i \[^\n\}\]*}" "alias" } } */
34 /* { dg-final { cleanup-tree-dump "alias" } } */