OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-stable/] [gcc-4.5.1/] [libmudflap/] [testsuite/] [libmudflap.c/] [fail32-frag.c] - Blame information for rev 856

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 275 jeremybenn
void foo (int k)
2
{
3
  volatile int *b = & k;
4
  b++;
5
  *b = 5;
6
}
7
 
8
int main ()
9
{
10
  foo (5);
11
  return 0;
12
}
13
/* { dg-output "mudflap violation 1.*" } */
14
/* { dg-output "Nearby object.*" } */
15
/* { dg-output "mudflap object.*k" } */
16
/* { dg-do run { xfail *-*-* } } */

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.