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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.c-torture/] [execute/] [pr22630.c] - Blame information for rev 774

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

Line No. Rev Author Line
1 688 jeremybenn
void abort (void);
2
 
3
int j;
4
 
5
void bla (int *r)
6
{
7
  int *p, *q;
8
 
9
  p = q = r;
10
  if (!p)
11
    p = &j;
12
 
13
  if (p != q)
14
    j = 1;
15
}
16
 
17
int main (void)
18
{
19
  bla (0);
20
  if (!j)
21
    abort ();
22
  return 0;
23
}

powered by: WebSVN 2.1.0

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