URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [libmudflap/] [testsuite/] [libmudflap.c/] [fail68-frag.c] - Rev 746
Go to most recent revision | Compare with Previous | Blame | View Log
/* PR libmudflap/40778 */ char p[32]; static int j; __attribute__((noinline)) static void foo (int i) { if (j++ == 0) p[i + 4] = 12; else p[i - 4] = 13; } int main () { foo (30); foo (30); foo (30); return 0; } /* { dg-output "mudflap violation 1.*" } */ /* { dg-output "Nearby object 1.*" } */ /* { dg-output "mudflap object.*name.*p" } */ /* { dg-do run { xfail *-*-* } } */
Go to most recent revision | Compare with Previous | Blame | View Log