URL
https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk
Subversion Repositories openrisc_me
[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.dg/] [tree-ssa/] [pta-callused.c] - Rev 298
Compare with Previous | Blame | View Log
/* { dg-do compile } */ /* { dg-options "-O2 --param max-fields-for-field-sensitive=2 -fdump-tree-alias" } */ struct Foo { int *p, *q; }; int foo (int ***x) __attribute__((pure)); int bar (int b) { int i; struct Foo f; int *p, **q; p = &i; f.p = &i; f.q = f.p; if (b) q = &f.p; else q = &f.q; return foo (&q); } /* { dg-final { scan-tree-dump "CALLUSED = { f.* i q }" "alias" } } */ /* { dg-final { cleanup-tree-dump "alias" } } */