URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [ipa/] [ipa-pta-2.c] - Rev 689
Compare with Previous | Blame | View Log
/* { dg-do compile } */ /* { dg-options "-O -fipa-pta -fdump-ipa-pta-details" } */ int (*fn)(int *); static int __attribute__((noinline,noclone)) foo (int *p) { return *p; } extern void bar (void); int main() { fn = foo; bar (); return 0; } /* Make sure that when a local function escapes its argument points-to sets are properly adjusted. */ /* { dg-final { scan-ipa-dump "foo.arg0 = { ESCAPED NONLOCAL }" "pta" } } */ /* { dg-final { cleanup-ipa-dump "pta" } } */