URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [torture/] [pr43879_1.c] - Rev 801
Go to most recent revision | Compare with Previous | Blame | View Log
/* { dg-do run } */ /* { dg-options "-fipa-pta" } */ /* { dg-additional-sources "pr43879_2.c" } */ void bar(int c) { static int x = 1; if (c != x) __builtin_abort(); x--; } void baz(int *i) { (*i)--; } struct TBL { int (*p)(int *i); }; extern struct TBL tbl; int main() { int c = 1; return tbl.p(&c); }
Go to most recent revision | Compare with Previous | Blame | View Log